-
Notifications
You must be signed in to change notification settings - Fork 41
Shell integration not injected for debug terminals in remote environments #1337
Copy link
Copy link
Closed
microsoft/vscode
#300428Labels
area-activationIssue related to activation. Root cause can be from interpreter selection or activation in terminalIssue related to activation. Root cause can be from interpreter selection or activation in terminalarea-terminalEnvironment extension specific terminal issues.Environment extension specific terminal issues.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
area-activationIssue related to activation. Root cause can be from interpreter selection or activation in terminalIssue related to activation. Root cause can be from interpreter selection or activation in terminalarea-terminalEnvironment extension specific terminal issues.Environment extension specific terminal issues.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
When using the
shellStartupactivation type in a remote VS Code environment, the Python environment isn't activated in the terminal where the debugger is launched. This affects all environments that need to be activated, like Conda and Pixi.The issue only happens when all three conditions are met:
shellStartupactivation typeOpening a regular terminal in the same remote environment works fine. Debugging locally also works fine. Setting
autoActivationTypetocommandworks around the issue.There is a fix waiting for review over here microsoft/vscode#300428.