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
#156 5 comments 0 reactions 1 assignee View on GitHub

@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:

image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.