microsoft/MIEngine

[Feature Request] support run custom command like local gdb

hiberabyss opened this issue · 1 comments

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',

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.