Created
May 4, 2024 23:58
-
-
Save zhuangh/870886ce9d773d9c53440d42f7dd7fd7 to your computer and use it in GitHub Desktop.
vscode-bebyond gdb - gdb server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://marketplace.visualstudio.com/items?itemName=coolchyni.beyond-debug | |
{ | |
"inputs": [ | |
{ | |
"id": "hostname", | |
"description": "xxx", | |
"default": "localhost", | |
"type": "promptString" | |
}, | |
{ | |
"id": "port", | |
"description": "xxx", | |
"default": "1234", | |
"type": "promptString" | |
} | |
], | |
"configurations":[ | |
{ | |
"type": "by-gdb", | |
"request": "launch", | |
"name": "Launch(gdb)", | |
"debbugerPath": "path/gdb" | |
"program": "${fileBasenameNoExtension}", | |
"cwd": "${workspaceRoot}", | |
"remote": { | |
"enabled": true, | |
"address": "${input:hostname}:${input:port}", | |
"mode": "remote", | |
//"execfile": "${fileBasenameNoExtension}" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment