-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update vscode configuration to support debugging
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ // This configuration fails to attach the process for debugging as described here: https://github.com/microsoft/vscode-cpptools/issues/3161. | ||
"name": "(lldb) Launch", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"cwd": "${workspaceFolder}", | ||
"program": "${command:cmake.launchTargetPath}", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"externalConsole": false, | ||
"MIMode": "lldb", | ||
}, | ||
{ // Requires the CodeLLDB plugin, works for debugging | ||
"name": "Launch", | ||
"type": "lldb", | ||
"request": "launch", | ||
"cwd": "${workspaceFolder}", | ||
"program": "${command:cmake.launchTargetPath}", | ||
"args": [], | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
{ | ||
"cmake.sourceDirectory": "${workspaceFolder}/src" | ||
"cmake.sourceDirectory": "${workspaceFolder}/src", | ||
"C_Cpp.intelliSenseEngine": "Tag Parser", | ||
"files.associations": { | ||
"*.h": "c", | ||
}, | ||
} |