Repository navigation
Closed as not planned
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
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:
2025-02-18 12:02:20.629 [info] Debugging using the editor button 'Debug in terminal'
2025-02-18 12:02:20.643 [info] Getting configurations for workspace
2025-02-18 12:02:20.645 [info] Using configuration in launch.json
2025-02-18 12:02:20.821 [info] Using workspaceFolder found for the program: /home/pan/repositories/Booster-AI
2025-02-18 12:02:20.879 [info] Resolving launch configuration with substituted variables
2025-02-18 12:02:20.879 [info] Using workspaceFolder found for the program: /home/pan/repositories/Booster-AI
2025-02-18 12:02:20.939 [info] DAP Server launched with command: /home/pan/repositories/Booster-AI/.pixi/envs/booster-ai-development/bin/python /home/pan/.vscode-server/extensions/ms-python.debugpy-2025.0.1/bundled/libs/debugpy/adapter
2025-02-18 12:02:21.070 [info] Received 'debugpySockets' event from debugpy.
2025-02-18 12:02:21.075 [info] Received 'debugpySockets' event from debugpy.
2025-02-18 12:02:21.075 [info] Received 'debugpySockets' event from debugpy.
The Python logs:
2025-02-18 12:02:21.143 [info] Not enabling terminal env var experiment in multiroot remote workspaces
2025-02-18 12:02:21.144 [info] Send text to terminal: /home/pan/.pixi/bin/pixi shell --manifest-path /home/pan/repositories/Booster-AI/pixi.toml --environment booster-ai-development
2025-02-18 12:02:21.896 [info] Send text to terminal: /usr/bin/env /home/pan/repositories/Booster-AI/.pixi/envs/booster-ai-development/bin/python /home/pan/.vscode-server/extensions/ms-python.debugpy-2025.0.1/bundled/libs/debugpy/adapter/../../debugpy/launcher 34449 -- /home/pan/repositories/Booster-AI/project_management/workspace/configurator.py
Metadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from postertriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Activity
rchiodo commentedon Feb 18, 2025
I would hazard a guess this is similar to the problem with this issue: #617
eleanorjboyd commentedon Feb 18, 2025
yes good guess Rich Chiodo (@rchiodo)
Raphaël Melançon (@RaphaelMelanconAtBentley) can you include the launch config you are trying to run with? And the code you are attempting to debug?
RaphaelMelanconAtBentley commentedon Feb 19, 2025
Well, there isn't always a launch config, as it also happens when I simply use this option:
And it happens with any code, even this:
Might it have something to do with the environment activation in the terminal?
I have
"python.terminal.activateEnvironment": trueand"python.terminal.activateEnvInCurrentTerminal": true.Here is what the Python Debug Console terminal shows when it is created:
eleanorjboyd commentedon Feb 26, 2025
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
<=3.6)? #123RaphaelMelanconAtBentley commentedon Mar 4, 2025
I am on the latest (pre-release) version of both the Python and the Python Debugger extensions, and this is still happening.
Eleanor Boyd (@eleanorjboyd) Please reopen
RaphaelMelanconAtBentley commentedon Mar 6, 2025
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.
11 remaining items
github-actions commentedon Jul 25, 2025
Hey Eleanor Boyd (@eleanorjboyd), this issue might need further attention.
Raphaël Melançon (@RaphaelMelanconAtBentley), you can help us out by closing this issue if the problem no longer exists, or adding more information.
vs-code-engineering commentedon Aug 24, 2025
Hey Eleanor Boyd (@eleanorjboyd), this issue might need further attention.
Raphaël Melançon (@RaphaelMelanconAtBentley), you can help us out by closing this issue if the problem no longer exists, or adding more information.
stevenh commentedon Aug 24, 2025
Still failing
github-actions commentedon Sep 24, 2025
Hey Eleanor Boyd (@eleanorjboyd), this issue might need further attention.
Raphaël Melançon (@RaphaelMelanconAtBentley), you can help us out by closing this issue if the problem no longer exists, or adding more information.
vs-code-engineering commentedon Oct 23, 2025
This issue has been closed as it has been labeled with
info-neededand has not received the additional information that was requested from the issue author. It has been labeled asinfo-neededfor 14 days.stevenh commentedon Oct 23, 2025
You got to hate these bots closing legitimate issues.
stevenh commentedon Oct 23, 2025
Thanks Eleanor Boyd (@eleanorjboyd) if I can help provide any more information on this which would assist let me know.
eleanorjboyd commentedon Oct 28, 2025
Hi! Can you try setting these settings and see if either works:
python.useEnvironmentsExtension: falsepython-envs.terminal.autoActivationType: offvs-code-engineering commentedon Nov 4, 2025
Raphaël Melançon (@RaphaelMelanconAtBentley), this issue has been labeled with
info-neededand has not received a response. Please provide the additional information that was requested, or this issue will be automatically closed in 7 days.vs-code-engineering commentedon Nov 11, 2025
This issue has been closed as it has been labeled with
info-neededand has not received the additional information that was requested from the issue author. It has been labeled asinfo-neededfor 7 days.