vscode-docker
vscode-docker copied to clipboard
The remote debugging auto-disconnects immediately when debugging the python projects with "Python Debugger: Remote Attach" configuration
OS: All Build Version: 20240213.3
Repro Steps:
- Open a python project django_project.zip in VS Code.
- F1 -> Docker: Add Docker Files to Workspace -> Python: Django -> Include docker compose files.
- Right click .debug.yml file -> Compose Up.
- Open the launch.json file -> Add a new "Python Debugger: Remote Attach" configuration.
- Navigate to "Run and Debug" view -> Select "Python Debugger: Remote Attach" -> F5.
- Check whether succeeds to remote debug the python project.
Expect: Succeed to remote debug the python project.
Actual: The remote debugging auto-disconnects immediately.
More Info:
- This issue doesn't reproduce after install Python extension v2024.0.0.
- This issue also reproduces for Flask project.
I'm unable to reproduce with Python extension version 2024.0.1 and Docker extension version 1.29.0. I'll try the latest build of the Docker extension.