Skip to content

'Debug Python File' does nothing聽#102

Closed as not planned
Closed as not planned

Description

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

Activity

  1. joyceerhl commented on Sep 28, 2023

    @joyceerhl
    Author

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

  2. XuShenLZ commented on Oct 4, 2023

    @XuShenLZ

    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

  3. added
    bugIssue identified by VS Code Team member as probable bug
    and removed
    triage-neededNeeds assignment to the proper sub-team
    on Oct 25, 2023
  4. paulacamargo25 commented on Nov 21, 2023

    @paulacamargo25
    Contributor

    Duplicated: #137

  5. added
    duplicateThis issue or pull request already exists
    and removed
    bugIssue identified by VS Code Team member as probable bug
    on Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

duplicateThis issue or pull request already exists

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions