eclipse-cdt-cloud / cdt-gdb-adapter

CDT GDB Debug Adapter
Eclipse Public License 2.0
28 stars 40 forks source link

Implement inferior in its own terminal on Linux #252

Open jonahgraham opened 1 year ago

jonahgraham commented 1 year ago

Using DAP's runInTerminal this PR adds the ability to use that new terminal for the inferior's I/O.

This can be enabled by adding "inferiorTerminal": "integrated" or "inferiorTerminal": "external" or "inferiorTerminal": "auto" to the launch.json.

The basic idea of the inferior terminal on Linux is:

The script run in the terminal won't auto-stop when running the adapter in server mode (typically should only be used for development of the adapter)

Part of #161

TODO for this issue: