mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2025-12-12 20:35:43 +01:00
Update launch configurations
With 2.12 of the Swift extension, moved away from "program" and instead using "target" and "configuration" so determine the path dynamically
This commit is contained in:
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
@@ -4,7 +4,8 @@
|
||||
"type": "swift",
|
||||
"request": "launch",
|
||||
"name": "Debug sourcekit-lsp",
|
||||
"program": "${workspaceFolder:sourcekit-lsp}/.build/debug/sourcekit-lsp",
|
||||
"target": "sourcekit-lsp",
|
||||
"configuration": "debug",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder:sourcekit-lsp}",
|
||||
"preLaunchTask": "swift: Build Debug sourcekit-lsp"
|
||||
@@ -13,7 +14,8 @@
|
||||
"type": "swift",
|
||||
"request": "launch",
|
||||
"name": "Release sourcekit-lsp",
|
||||
"program": "${workspaceFolder:sourcekit-lsp}/.build/release/sourcekit-lsp",
|
||||
"target": "sourcekit-lsp",
|
||||
"configuration": "release",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder:sourcekit-lsp}",
|
||||
"preLaunchTask": "swift: Build Release sourcekit-lsp"
|
||||
|
||||
Reference in New Issue
Block a user