Skip to content

Instantly share code, notes, and snippets.

@werto87
Last active June 28, 2022 02:52
Show Gist options
  • Save werto87/f96bdef1863cb7584174b2f5326eb980 to your computer and use it in GitHub Desktop.
Save werto87/f96bdef1863cb7584174b2f5326eb980 to your computer and use it in GitHub Desktop.
visual code debug setup
{
"version": "0.2.0",
"configurations": [
{
"name": "test",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/bin/_test",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"miDebuggerPath": "/usr/bin/lldb-mi"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment