Skip to content
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

'Debug Python File' does nothing #102

Closed
joyceerhl opened this issue Sep 28, 2023 · 3 comments
Closed

'Debug Python File' does nothing #102

joyceerhl opened this issue Sep 28, 2023 · 3 comments
Assignees
Labels
duplicate This issue or pull request already exists
Milestone

Comments

@joyceerhl
Copy link

  1. Open Python file in a folder that doesn't have a launch config defined
  2. Set breakpoint
  3. From editor title run menu, choose 'Debug Python File'
  4. 🐛 nothing happens

Image

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Sep 28, 2023
@joyceerhl
Copy link
Author

Note that if I go into the Run/Debug view and choose the Python Debugger launch config, then F5 to debug, that works

@XuShenLZ
Copy link

XuShenLZ commented Oct 4, 2023

I am having a similar issue here. I am developing in a docker container with Python 3.6.9. The Python Debugger Extension version is v2023.1.12492010

When I open the "Run and Debug" panel on the left side and hit the green button for "Debugpy: Python File" or "Debugpy: Current File", I can debug my python file and stop at the breakpoint. As below:

image

However, if I click the small "run and debug" button on the top right corner, it seems that it still uses the "Python Extension" (rather than Debugger Extension) so that I get the error of Python version less than 3.7 is not supported.

image

My host machine and VS Code version:

Version: 1.83.0
Commit: e7e037083ff4455cf320e344325dacb480062c3c
Date: 2023-10-03T16:11:49.843Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 6.2.0-26-generic snap

Python version: 3.6.9
Dev Container version: v0.315.0
Python extension version: v2023.16.0
Python Debugger Extension version: v2023.1.12492010

@paulacamargo25
Copy link
Contributor

Duplicated: #137

@paulacamargo25 paulacamargo25 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2023
@justschen justschen added duplicate This issue or pull request already exists and removed bug Issue identified by VS Code Team member as probable bug labels Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants