Author | Jakob Wakeling <[email protected]> |
Date | 2024-03-17 03:09:42 |
Commit | a01ab5ac2abdc7a322503f485318e8f975efdd30 |
Parent | 753057649be967f0151bea80de863738a9d6879f |
Add a VS Code launch JSON for debugging
Diffstat
M | .gitignore | | | 4 | +++- |
A | .vscode/launch.json | | | 24 | ++++++++++++++++++++++++ |
2 files changed, 27 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index f5264ec..e4561ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ /.cache/ -/.vscode/ +/.vscode/* /bin/ /build/ + +!/.vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..7afa927 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Debug", + "type": "cppdbg", + "request": "launch", + "program": "${command:cmake.launchTargetPath}", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + ], + }, + ], +}