Skip to content

Instantly share code, notes, and snippets.

@dcrystalj
Last active September 10, 2018 20:40
Show Gist options
  • Save dcrystalj/a57c0a5daace54b57537d3b72a506de8 to your computer and use it in GitHub Desktop.
Save dcrystalj/a57c0a5daace54b57537d3b72a506de8 to your computer and use it in GitHub Desktop.
debugging
{
// 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",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/program.out",
"args": [
"<",
"in.txt"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "build & debug"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment