Skip to content

Instantly share code, notes, and snippets.

@nateshmbhat
Last active December 27, 2017 02:11
Show Gist options
  • Save nateshmbhat/2b851d33a114d3b40390757ce4666c45 to your computer and use it in GitHub Desktop.
Save nateshmbhat/2b851d33a114d3b40390757ce4666c45 to your computer and use it in GitHub Desktop.
vsCode ( launch.json ) configuration file which is used to configure the Debugging part of the build process. This config file accessible in the top left corner settings button
{
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": true
}
]
}
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"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