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
In VS Code a debug extension can delegate the launching of "debuggees" back to VS Code by using the DAP runInTerminal request and passing a command that launches the debuggee.
VS Code handles the runInTerminal request by:
creating a new integrated terminal and executing the passed command, or
if the terminal already exists and the previous command has finished, it executes the passed command in the same terminal,
if the terminal already exists and is stilled blocked by a running command, a new terminal is created.
A consequence of this approach is that the previous commands and output will remain visible in the integrated terminal which is confusing for some users.
In this release we've introduced the feature to automatically clear the integrated terminal before starting a new debug session. The feature is controlled by the setting debug.terminal.clearBeforeReusing.
Setup:
create a debug configuration for a debug extension that supports to launch debuggees in the integrated terminal (e.g. js-debug and a "console": "integratedTerminal" property).
Verify:
that the feature can be controlled via the setting,
that the feature works on the assigned platform,
that the feature works for different types of shells configured for the integrated terminal.
The text was updated successfully, but these errors were encountered:
Refs: #116699
Complexity: 2
Create Issue
In VS Code a debug extension can delegate the launching of "debuggees" back to VS Code by using the DAP
runInTerminal
request and passing a command that launches the debuggee.VS Code handles the
runInTerminal
request by:A consequence of this approach is that the previous commands and output will remain visible in the integrated terminal which is confusing for some users.
In this release we've introduced the feature to automatically clear the integrated terminal before starting a new debug session. The feature is controlled by the setting
debug.terminal.clearBeforeReusing
.Setup:
"console": "integratedTerminal"
property).Verify:
The text was updated successfully, but these errors were encountered: