mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[misc] Get VSCode running / debugging working
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!
This commit is contained in:
30
.vscode/launch.json
vendored
Normal file
30
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
// 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,
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user