microsoft / microsoft/vscode-python-debugger
Do not show "Python file" as one of the debug configuration options if people don't have a Python file open
Open
@bshahrok is already working on this.
Since Sep 22, 2023.
feature-request
- Dominant language
- TypeScript
- Stars
- 181
- Forks
- 126
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 3
Description
Right now if you click on the "Run and Debug" button from the Debug View and there's no file open and you click on "Python", we display a list of config options for the user. But if they click on "Python File", because there's no file open it will fail:

It'd be nice if we could not display this option (especially cause we memorize the users choice for the rest of the session, until they reload the window).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.