38 lines
1,001 B
JSON
38 lines
1,001 B
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "Launch with puzzle input",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/CTemplate",
|
|
"args": ["../puzzle.input"],
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}/build/",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"preLaunchTask": "build",
|
|
},
|
|
{
|
|
"name": "Launch with test input",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/CTemplate",
|
|
"args": ["../test.input"],
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceFolder}/build/",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"preLaunchTask": "build",
|
|
}
|
|
]
|
|
}
|