microshell_project/.vscode/launch.json

39 lines
1.5 KiB
JSON
Raw Normal View History

2025-01-04 14:30:25 +01:00
{
"configurations": [
{
"name": "C/C++: gcc build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/a.out",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "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
},
// { "description":"In this mode GDB will be attached to both processes after a call to fork() or vfork().",
// "text": "-gdb-set detach-on-fork off",
// "ignoreFailures": true
// },
// { "description": "The new process is debugged after a fork. The parent process runs unimpeded.",
// "text": "-gdb-set follow-fork-mode child",
// "ignoreFailures": true
// }
],
2025-01-04 17:03:19 +01:00
"preLaunchTask": "build main.c",
2025-01-04 14:30:25 +01:00
"miDebuggerPath": "/usr/bin/gdb"
}
],
"version": "2.0.0"
}