Commit b7ad488f authored by Sarah Acadia Dunbar's avatar Sarah Acadia Dunbar
Browse files

Update launch.json

parent 2683a6d9
No related merge requests found
Showing with 6 additions and 52 deletions
+6 -52
......@@ -5,58 +5,12 @@
// they use different debuggers
// If you want to create a configuration for a specific binary,
// it would look like these two, with the corresponding stuff in tasks
// it would look like this
// you can debug any test by opening it, navigating to the debugger menu,
// setting breakpoints, and clicking debug
{
"name": "(Windows) Debug bin/bounce",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/bounce.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"console": "newExternalWindow",
"preLaunchTask": "make bin/bounce",
},
{
"name": "(OS X / Linux) Debug bin/bounce",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/bounce",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "make bin/bounce",
},
// On the other hand, there's a _lot_ of test suites, and I don't
// want to write a configuration for all of them.
// This config actually works for demos too!
{
"name": "(Windows) Debug active file",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"console": "newExternalWindow",
"preLaunchTask": "make active file",
},
{
"name": "(OS X / Linux) Debug active file",
"name": "Debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/${fileBasenameNoExtension}",
......@@ -66,7 +20,7 @@
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/path/to/gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment