Debugger for vscode

main
Øyvind Skaaden 2022-04-03 22:40:49 +02:00
parent 250a517768
commit 1594d045fd
1 changed files with 25 additions and 0 deletions

25
exercises/05/.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,25 @@
{
"version": "0.2.0",
"configurations": [
{
// for Linux
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/vslc/src/vslc",
"args": ["<", "${workspaceFolder}/vslc/vsl_programs/ps5-codegen1/lists.vsl"],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}