{ "version": "0.2.0", "configurations": [ { "name": "(gdb) QEMU", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/bin/${input:build_type}/_kernel", "MIMode": "gdb", "miDebuggerServerAddress": "localhost:1234", "cwd": "${workspaceFolder}", "stopAtEntry": true, "preLaunchTask": "QEMU (gdb)", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }, { "description": "Load file", "text": "-file-exec-and-symbols ${workspaceFolder}/build/bin/${input:build_type}/_kernel" }, { "description": "Set breakpoint on _start", "text": "-break-insert _start" } ] } ], "inputs": [ { "id": "build_type", "type": "pickString", "default": "Debug", "description": "The build type to boot", "options": [ "Debug", "MinSizeRel" ] } ] }