Skip to content

Python debugger not using the right environment #632

Description

@renan-r-santos

There's an issue with the interaction between the debugger and this extension. I can click on the "Run" icon, and everything works fine, but debugging the same file sometimes selects the wrong environment.

I'm attaching a ZIP file with the same projects I use to reproduce the issue together with a video showing the behavior.
Here are my relevant user settings:

{
  "python-envs.terminal.showActivateButton": true,
  "python-envs.terminal.autoActivationType": "off",
}

uv_projects.zip

debugger.mov

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions