37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
// 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": "(gdb) Launch",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "/opt/quark-os/rootfs/apps/quark-kernel",
|
|
"args": [],
|
|
"stopAtEntry": true,
|
|
"stopAtConnect": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": true,
|
|
"MIMode": "gdb",
|
|
"miDebuggerServerAddress": "localhost:1234",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}/*,
|
|
{
|
|
"text": "-target-select remote localhost:1234",
|
|
"ignoreFailures": false
|
|
}*/
|
|
],
|
|
"preLaunchTask": "Launch QEMU (i386)"
|
|
/*"debugServerPath": "/bin/qemu-system-i386",
|
|
"debugServerArgs": "-hda /opt/quark-os/quark.img -serial stdio -s -S",
|
|
"serverLaunchTimeout": 2000*/
|
|
}
|
|
]
|
|
} |