microsoft / MIEngine

The Visual Studio MI Debug Engine ("MIEngine") provides an open-source Visual Studio Debugger extension that works with MI-enabled debuggers such as gdb and lldb.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] support run custom command like local gdb

hiberabyss opened this issue · 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.