Skip to content

Commit

Permalink
Add .vscode/launch.json to debug programs in scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Krotov committed May 22, 2018
1 parent b4a7d5a commit db9efbc
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,32 @@
{
// 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) Launch from scratch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/scratch/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "./build/lib/"
}
],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

0 comments on commit db9efbc

Please sign in to comment.