Skip to content

Instantly share code, notes, and snippets.

@aharonamir
Created September 3, 2020 17:08
Show Gist options
  • Save aharonamir/bb32a1e83a3eb3e81e62f45b92513ba1 to your computer and use it in GitHub Desktop.
Save aharonamir/bb32a1e83a3eb3e81e62f45b92513ba1 to your computer and use it in GitHub Desktop.
setup for cpp debug
{
// 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": "Test Sqlite",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/path/to/your/bin",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment