Skip to content

Check on debug launch configuration's python field prevents container debugging #531

Open
@bwateratmsft

Description

@bwateratmsft

The Docker extension resolves a Python debug configuration in order to support Python debugging. Included in that resolved debug configuration is the python field, with a value of just python3. This is because this is the command to use for launching Python in the container. However, validation of that field is done against the host, so if the host and container don't both have python3, debugging fails. We've tried changing it to python, which worked on Windows, but failed on Mac and Linux.

Is there a way to override this check to stop it from validating against the host when it should not be?

An additional strange thing we've noticed is that the error seems to only show up on Insiders. The code doesn't seem to be Insiders only so it's confusing why it would be doing this.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked on

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions