Remote GDB server
Install vscode extention - Native Debug
Market
Press ctrl-p (cmd+p on OS X) and run
1
| ext install webfreak.debug
|
Set a gdb attach task
.vscode/launch.json
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| { // 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": [ { "type": "gdb", "request": "attach", "name": "Attach to gdbserver", "executable": "${workspaceRoot}/recipes-eth/ethapi_test", "target": ":7777", "stopAtEntry": true, "remote": true, "cwd": "${workspaceRoot}", "valuesFormatting": "parseText" } ] }
|