forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Reporting a bug
Eleanor Boyd edited this page Dec 18, 2025
·
14 revisions
This page outlines how to file a bug on the Python extension. If you are facing an issue with the Python Debugger, you can follow the same steps outlined below, but use "Python Debugger" as the extension name in the Report Issue command (Python Debugger: Report Issue...).
- VS Code on the desktop?
- VS Code on the web? (i.e. vscode.dev or github.dev)
raise RuntimeError("you should never reach here ...")
- Run the
Python: Report Issue...command from the command palette (note: If the command is missing, please follow the instructions below)

- Fill in the details of the bug where there are
XXXmarkers (you will have a chance to add screenshots and GIFs momentarily). - Click the green
Create on GitHubbutton. - Attach any screenshots or GIFs to help explain the bug you are experiencing.
- Submit the issue on GitHub.
- Run
Developer: Set Log Level...from the Command Palette. - Select
Trace. - Run
Developer: Reload Window. - Reproduce the problem.
- Open the Output panel (
View→Output) and selectPythonin the dropdown. - Copy the output and attach it to the issue.
Tip: Logs can contain file paths or environment details. Please review/redact secrets before sharing.
After collecting logs, you can set the log level back to Info (or your preferred level).
Please attach a CPU profile of your running extensions to the issue after you create it.
- Run the
Help: Report Issue...command from the command palette. - Notice the new window that looks something like the following (notice the empty "Steps to Reproduce" which separates this command from
Python: Report Issue...):

- Set
File ontoAn extension. - Set
ExtensiontoPython. - Fill in
TitleandSteps to Reproduce. - Click the green
Create on GitHubbutton. - Add any screenshots or GIFs to the issue.
- Submit the issue on GitHub.
Create a new issue by following this link.