cbuild-c/.vscode/launch.json
2025-04-25 19:27:59 +05:00

34 lines
1.1 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Debug",
"type": "cppdbg",
"request": "launch",
"cwd": "${workspaceFolder}/bin",
"program": "${workspaceFolder}/bin/cbuild",
"windows": {
"program": "${workspaceFolder}\\bin\\cbuild.exe",
},
"args": [ "-p", "../example.proj.dtsod", "exe"],
"preLaunchTask": "build",
"stopAtEntry": false,
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}