[Feature Request] support run custom command like local gdb
hiberabyss opened this issue · 1 comments
hiberabyss commented
In some case, I would like to run gdb on server with command like ssh -it dev gdb a.out
.
I could save the command as shell script rgdb
as ssh -it dev gdb
.
Is it possible to have following configuration to make rgdb
just work like local gdb?
MIMode = 'gdb',
miDebuggerPath = 'rgdb',
gregg-miskelly commented
You want to use Pipe Transport. Here is the documentation for using this in VS Code: https://code.visualstudio.com/docs/cpp/pipe-transport
VS is similar if you are in an Open Folder scenario.