-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
In 2025.0.0
, using --wait-for-client
doesn't wait anymore when used from the integrated terminal.
I'm running a devcontainer, I've got a venv in my workspace and an empty test.py file.
From the integrated terminal I run this...
$ which python3
/workspaces/my-project/.venv/bin/python3
$ python3 -m debugpy --wait-for-client --listen 5678 test.py
$
...and the program terminates. It shouldn't since I've asked it to wait.
From a terminal I've opened up via docker exec'ing to the container I run the equivalent...
$ source ./.venv/bin/activate
$ python3 -m debugpy --wait-for-client --listen 5678 test.py
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
...and I get the behavior expected.
If I downgrade to 2024.14.0
I get the proper behavior in the integrated terminal.
The two main versions I believe might be important are
debugpy 1.8.12
Python 3.12.3
Let me know if you need anything else. In the meantime I'm downgrading to 2024.14.0
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team