mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
I spent some time getting VSCode debugging working. Now I can use VSCode on windows to work on jsix in Linux (WSL) and launch and debug it within QEMU. So many layers but it works pretty nicely!
31 lines
974 B
JSON
31 lines
974 B
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": "QEMU Debug Server",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/jsix.elf",
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}",
|
|
"logging": {
|
|
//"engineLogging": true,
|
|
"programOutput": true
|
|
},
|
|
"stopAtConnect": true,
|
|
"stopAtEntry": false,
|
|
|
|
"setupCommands": [],
|
|
|
|
"MIMode": "gdb",
|
|
"miDebuggerServerAddress": "localhost:1234",
|
|
"debugServerPath": "${workspaceFolder}/qemu.sh",
|
|
"debugServerArgs": "--debug --no-build",
|
|
"serverLaunchTimeout": 5000,
|
|
}
|
|
]
|
|
}
|