microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.5k stars 1.55k forks source link

Remote debugging via serial terminal #10870

Open timkruse opened 1 year ago

timkruse commented 1 year ago

Feature Request

Brief: Please add support for remote debugging via serial terminal.

A bit more in detail: In my szenario I don't always have an ethernet port on the target machine (embedded devices running embedded linux) which I would like to debug. So I have to debug via a general usb port that is configured as a CDC (ACM) device acting as serial port over which a gdbserver communicates to the host machine. Another serial terminal serves as a linux-shell.

WardenGnaw commented 1 year ago

Thank you for your feature idea. We may not be able to implement it immediately, but we will track the community reactions to determine where this might fit into our backlog.

mrx23dot commented 2 months ago

Remote GDB debugging should be already available over COM port, I think. With USB you can create a 2nd COM port which you can use for serial. So no change is needed.