microsoft / debugpy

An implementation of the Debug Adapter Protocol for Python
https://pypi.org/project/debugpy/
Other
1.84k stars 137 forks source link

Python debugger frozen eternall with poetry env #1382

Open rami1207 opened 1 year ago

rami1207 commented 1 year ago

Before creating a new issue, please check the FAQ to see if your question is answered there.

Environment data

Actual behavior

Debugger frozen eternally, I tried some window false thing. No luck with it

Expected behavior

Debug has to be triggered XXX

Steps to reproduce:

  1. It is happening my system alone, you need to see it in my system
int19h commented 1 year ago

Can you clarify debugpy and VSCode version?

Also, try enabling logs by adding "logToFile":true to your debug configuration. If you're starting debugpy from command line manually, use --log-to switch to the same effect. This should produce several debugpy*.log files in the specified directory, or wherever the extension is installed for "logToFile".

rami1207 commented 1 year ago

Following is the version info

Version: 1.74.3 Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534 Date: 2023-01-09T17:05:47.808Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Darwin arm64 22.6.0 Sandboxed: No the latest version didn't work, hence I am using an older version but there is no change

I tried to debug with following settings { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [

    {
        "name": "Python: Current File",
        "type": "python",
        "request": "launch",
        "program": "${file}",
        "console": "integratedTerminal",
        "justMyCode": true,
        "redirectOutput": false,
        "logToFile":true
    }
]

} this one yielding nothing either

int19h commented 1 year ago

Are the logs not being generated? If so, can you share any visible error messages - popups, output window etc.