Skip to content

Improve Debug Python File in Editor Menu #137

Closed

Description

@paulacamargo25

This issue will cover the changes in the Debug Python File button:

  1. Fix the error mentioned here.
  2. Add new button that run the debugger using the launch.json config.

Activity

  1. added
    feature-requestRequest for new features or functionality
    and removed
    triage-neededNeeds assignment to the proper sub-team
    on Nov 21, 2023
  2. thoughtfuldata commented on Mar 19, 2024

    @thoughtfuldata

    I'm still getting this issue.

    Version: 1.87.2 (user setup)
    Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
    Date: 2024-03-08T15:20:17.278Z
    Electron: 27.3.2
    ElectronBuildId: 26836302
    Chromium: 118.0.5993.159
    Node.js: 18.17.1
    V8: 11.8.172.18-electron.0
    OS: Windows_NT x64 10.0.22631
    

    The "Run and Debug" view works( as well as the F5 key) with the default " Python Debugger: Python File" ( basically, launch.json has no entry for this). But debugging through the Run button doesn't do anything and nothing is showing in the "Python Debugger" output

  3. czuba commented on Mar 21, 2024

    @czuba

    Ditto. Issue persists in on macos (14.3.1, apple silicon)

    Version: 1.87.2 (Universal)
    Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
    Date: 2024-03-08T15:21:31.043Z
    Electron: 27.3.2
    ElectronBuildId: 26836302
    Chromium: 118.0.5993.159
    Node.js: 18.17.1
    V8: 11.8.172.18-electron.0
    OS: Darwin arm64 23.3.0
    

    If .vscode/launch.json exists in the working directory, nothing happens when clicking the run-in-debugger button at the top right of the file panel. ...no error, no response, nothing.

    If I simply change the name to ~launch.json, it works again

  4. thoughtfuldata commented on Mar 21, 2024

    @thoughtfuldata

    Thad Czuba (@czuba) Thanks for the info, I will check out if your hack to see if it works for Windows as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityon-testplanAdded to test plan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions