add debug configuration for VSCode
This commit is contained in:
parent
10cde4d6ff
commit
88b8e4e949
2 changed files with 29 additions and 0 deletions
1
.vscode/c_cpp_properties.json
vendored
1
.vscode/c_cpp_properties.json
vendored
|
@ -40,6 +40,7 @@
|
|||
"${workspaceFolder}/share/",
|
||||
"${workspaceFolder}/synthesizer/",
|
||||
"${workspaceFolder}/test/",
|
||||
"${workspaceFolder}/telemetry/",
|
||||
"${workspaceFolder}/thirdparty/",
|
||||
"${workspaceFolder}/vtest/",
|
||||
"${workspaceFolder}/zerberus/",
|
||||
|
|
28
.vscode/launch.json
vendored
Normal file
28
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "gdb debug from debug build",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build.debug/main/mscore",
|
||||
"args": ["-d"],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"miDebuggerPath": "/usr/bin/gdb"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue