aboutsummaryrefslogtreecommitdiff
path: root/.vscode/launch.json
blob: 07bd65f2427cf80d27d6d6c94eb5b8027c456ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 }
        }
    ]
}