Skip to content

Instantly share code, notes, and snippets.

Last active Jan 25, 2022
What would you like to do?
// launch python through GDB to break in CPP code
"version": "0.2.0",
"configurations": [
"name": "GDB Python: Current File",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/python",
"args": [
"cwd": "${fileDirname}",
"stopAtEntry": false,
"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