[ios] VS Code debug launch config

This commit is contained in:
Mario Zechner 2025-08-11 21:08:51 +02:00
parent 1627bd81e5
commit 0b318d01fd
2 changed files with 89 additions and 0 deletions

15
spine-ios/.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb-dap",
"request": "launch",
"name": "Debug SpineTest (LLDB-DAP)",
"program": "${workspaceFolder}/test/.build/debug/SpineTest",
"args": [],
"cwd": "${workspaceFolder}/test",
"preLaunchTask": "swift: Build Debug",
"stopOnEntry": false
},
]
}

74
spine-ios/.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,74 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"command": "swift",
"args": [
"build",
"-c", "debug",
"-Xswiftc", "-Onone",
"-Xswiftc", "-g",
"--product",
"SpineTest"
],
"options": {
"cwd": "${workspaceFolder}/test"
},
"group": {
"kind": "build",
"isDefault": true
},
"label": "swift: Build Debug",
"detail": "Build SpineTest in debug mode"
},
{
"type": "shell",
"command": "swift",
"args": [
"build",
"-c", "debug",
"-Xswiftc", "-Onone",
"-Xswiftc", "-g"
],
"options": {
"cwd": "${workspaceFolder}/test"
},
"group": "build",
"label": "swift: Build All",
"detail": "Build all targets"
},
{
"type": "shell",
"command": "swift",
"args": [
"build",
"-c", "debug",
"-Xswiftc", "-Onone",
"-Xswiftc", "-g",
"--product",
"SimpleTest"
],
"options": {
"cwd": "${workspaceFolder}/test"
},
"group": "build",
"label": "swift: Build SimpleTest",
"detail": "Build SimpleTest in debug mode"
},
{
"type": "shell",
"command": "swift",
"args": [
"package",
"clean"
],
"options": {
"cwd": "${workspaceFolder}/test"
},
"group": "none",
"label": "swift: Clean",
"detail": "Clean build artifacts"
}
]
}