Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
luabud opened this issue Jun 27, 2023 · 0 comments · Fixed by #57
Closed

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

luabud opened this issue Jun 27, 2023 · 0 comments · Fixed by #57
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@luabud
Copy link
Member

luabud commented Jun 27, 2023

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 😊

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jun 27, 2023
@paulacamargo25 paulacamargo25 added bug Issue identified by VS Code Team member as probable bug and removed triage-needed Needs assignment to the proper sub-team labels Jun 27, 2023
@paulacamargo25 paulacamargo25 modified the milestones: June 2023, July 2023 Jun 29, 2023
@paulacamargo25 paulacamargo25 added the verification-needed Verification of issue is requested label Jul 26, 2023
@luabud luabud added the verified Verification succeeded label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants