added debug launcher

main
Øyvind Skaaden 2022-04-22 18:39:58 +02:00
parent 2a3c76cb6e
commit 57cc3f62fc
1 changed files with 28 additions and 0 deletions

28
exercises/06/.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,28 @@
{
// 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": [
{
// for Linux
"name": "(gdb) Launch euclid codegen 2",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/vslc/src/vslc",
"args": ["<", "${workspaceFolder}/vslc/vsl_programs/ps6-codegen2/euclid.vsl"],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}