Skip to content

Improve error message when trying to debug with no interpreter is selected  #37

Closed
@luabud

Description

@luabud

Testing #36

To reproduce, open a Python project, select the automatic config to run a Python file from debugpy. Then select an invalid interpreter (e.g. run the "Select Interpreter" command, click on "enter interpreter path", add something that doesn't exist like "bla", hit enter and ignore the notification that shows up).
When you start debugging with the debugpy extension, this error message shows up:
image

For contrast, this is what shows up when debugging a the Python extension config:
image

I actually like the modal window because it is a blocking action, but if we could improve the message to something like "Invalid Python interpreter. Please select a different one." And then provide a button with "Select Python Interpreter", that would be ideal IMO 😊

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions