{ "version": "0.2.0", "configurations": [ { "name": "(gdb) QEMU", "type": "cppdbg", "request": "launch", "cwd": "${workspaceFolder}", "stopAtEntry": true, "miDebuggerServerAddress": "localhost:1234", "miDebuggerPath": "x86_64-pc-elf-gdb", "preLaunchTask": "QEMU (gdb)", "MIMode": "gdb", "program": "${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.sym", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }, { "description": "Load code", "text": "-file-exec-file ${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.elf" }, { "description": "Load symbols", "text": "-file-exec-and-symbols ${command:cmake.buildDirectory}/bin/${command:cmake.buildType}/kernel.sym" } ] } ] }