Skip to content

Instantly share code, notes, and snippets.

@tratitude
Created March 25, 2019 09:21
Show Gist options
  • Save tratitude/c3facf562b909fa6a6571c650822c30e to your computer and use it in GitHub Desktop.
Save tratitude/c3facf562b909fa6a6571c650822c30e to your computer and use it in GitHub Desktop.
vscode linux-gcc
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/${fileBasenameNoExtension}.o",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "build"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment