mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[ios] VS Code debug launch config
This commit is contained in:
parent
1627bd81e5
commit
0b318d01fd
15
spine-ios/.vscode/launch.json
vendored
Normal file
15
spine-ios/.vscode/launch.json
vendored
Normal 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
74
spine-ios/.vscode/tasks.json
vendored
Normal 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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user