aboutsummaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..07bd65f
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,28 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Debug test_main",
+ "type": "cppdbg",
+ "request": "launch",
+ "program": "${workspaceFolder}/src/build/test_main", // Path to your executable
+ "args": [], // Optional: add any arguments here if needed
+ "stopAtEntry": false, // Set to true if you want to break at the entry point
+ "cwd": "${workspaceFolder}", // Working directory for the program
+ "environment": [],
+ "externalConsole": false, // Set to true to use an external console
+ "MIMode": "gdb", // Use "lldb" if you're using LLDB instead of GDB
+ "setupCommands": [
+ {
+ "description": "Enable pretty-printing for gdb",
+ "text": "-enable-pretty-printing",
+ "ignoreFailures": true
+ }
+ ],
+ "miDebuggerPath": "/usr/bin/gdb", // Path to gdb, adjust based on your system
+ "preLaunchTask": "", // Optional: specify a pre-launch task like building your project
+ "sourceFileMap": {},
+ "logging": { "moduleLoad": false, "engineLogging": false }
+ }
+ ]
+}