You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the debugger on a Python file (via F5), the Python Debug Console opens in a new terminal. It would be great to have the option to have the Python Debug Console open in an existing active terminal. The reason for this is that I use Remote to develop on a shared cluster. My workflow is: I request a machine for an interactive job, so my terminal is attached to a specific machine. However when I run the debug command, the Python Debug Console opens a new terminal on the main node of the cluster rather than on the machine I'm using for the interactive job.
Thank you!
The text was updated successfully, but these errors were encountered:
This would be a great feature, but, unfortunately, we're constrained by VSCode itself here. The debugger can only request to run something in a terminal with a given title (and you can specify that title in launch.json by setting "consoleTitle", if you don't like the default "Python Debug Console"). However, whether and how to reuse an existing terminal is entirely down to VSCode. I was hoping that it'd reuse an existing terminal with matching title - but this doesn't seem to be the case.
microsoft/vscode#68123 might be relevant here, although it's not quite the same, since it's about grouping newly spawned terminals.
When I use the debugger on a Python file (via
F5
), the Python Debug Console opens in a new terminal. It would be great to have the option to have the Python Debug Console open in an existing active terminal. The reason for this is that I use Remote to develop on a shared cluster. My workflow is: I request a machine for an interactive job, so my terminal is attached to a specific machine. However when I run the debug command, the Python Debug Console opens a new terminal on the main node of the cluster rather than on the machine I'm using for the interactive job.Thank you!
The text was updated successfully, but these errors were encountered: