add debug data

This commit is contained in:
benkyd
2023-01-12 17:55:19 +00:00
parent 5008af7681
commit 3cc9e9e56a
2 changed files with 27 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,3 @@
build/
.vscode/
CMakeFiles/
CMakeCache.txt

27
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,27 @@
{
// 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": [
{
"name": "C/C++: g++ debug",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/inferno",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
}
],
}
]
}