-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Severity: 🟡 Minor
File: .vscode/launch.json:11
PR: #126
Issue
The launch configuration uses undocumented Swift VS Code extension fields "target" and "configuration" that are not listed in the Swift extension's supported launch configuration fields.
Standard supported options include:
programargscwdpreLaunchTask- LLDB-DAP fields like
stopOnEntryandterminal
Current Code
{
"name": "Debug bushel",
"preLaunchTask": "swift: Build Debug bushel",
"target": "bushel",
"configuration": "debug"
}Recommendation
Remove the custom fields "target" and "configuration" and replace them with standard LLDB/Swift launch fields:
- Keep
"preLaunchTask": "swift: Build Debug bushel" - Add a
"program"entry pointing to the built bushel executable - Optionally set
"cwd","args", and LLDB options such as"stopOnEntry"and"terminal"
CodeRabbit Suggestion
In @.vscode/launch.json around lines 9-11, The launch config uses undocumented
Swift fields "target" and "configuration"; remove those keys and replace them
with standard LLDB/Swift launch fields: keep "preLaunchTask": "swift: Build
Debug bushel", add a "program" entry pointing to the built bushel executable,
and optionally set "cwd", "args", and LLDB options such as "stopOnEntry" and
"terminal" so the debugger recognizes the config; ensure you remove "target" and
"configuration" from the object and use
"program"/"args"/"cwd"/"stopOnEntry"/"terminal" instead.
Source: CodeRabbit AI review of PR #126
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working