-
Notifications
You must be signed in to change notification settings - Fork 42
Debugger not connecting since version 25.0.0 #618
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
Comments
I would hazard a guess this is similar to the problem with this issue: #617 |
yes good guess @rchiodo @RaphaelMelanconAtBentley can you include the launch config you are trying to run with? And the code you are attempting to debug? |
This should be fixed and be out in the most recent point release of the python debugger extension since it is related to #617 which I fixed. Closing for now but re-comment if not and I can reopen |
I am on the latest (pre-release) version of both the Python and the Python Debugger extensions, and this is still happening. @eleanorjboyd Please reopen |
Weirdly, I can debug unit test if I use the inline test indicator to debug a test. Bug any other way I tried launching a debugging session results in a hang followed by a timeout error. |
@karthiknadig any ideas here? |
@RaphaelMelanconAtBentley If you open a terminal and |
I'm not sure what you want... The $ debugpy /home/pan/repositories/Booster-AI/project_management/workspace/configurator.py
debugpy 1.8.12
See https://aka.ms/debugpy for documentation.
Usage: debugpy --listen | --connect
[<host>:]<port>
[--wait-for-client]
[--configure-<name> <value>]...
[--log-to <path>] [--log-to-stderr]
<filename> | -m <module> | -c <code> | --pid <pid>
[<arg>]...
Error: either --listen or --connect is required |
@RaphaelMelanconAtBentley If you have
those scripts are located at (path differs by os): If you install The contribution list for the latest extension should look like this:
in the buggy case it would have been:
You can get the contributions by hovering over the terminal title, and selecting "Show Environment Contribution": |
Pretty sure this issue is related: microsoft/vscode-python#24862 |
Whenever I am launching a debug session since the release of version 25.0.0 of the extension, the debugger hangs for ~30s, then I get this popup:
This happens when launching via a launch config or directly launching a file in debug mode.
Reverting to version 24.14.2 of the extension fixes this.
I am on WSL, using a Pixi Python environment.
Here are the Python Debugger logs:
The Python logs:
The text was updated successfully, but these errors were encountered: