Skip to content
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

The remote debugging auto-disconnects immediately when debugging the python projects with "Python Debugger: Remote Attach" configuration #4244

Open
v-chenzha opened this issue Feb 21, 2024 · 1 comment

Comments

@v-chenzha
Copy link

OS: All
Build Version: 20240213.3

Repro Steps:

  1. Open a python project django_project.zip in VS Code.
  2. F1 -> Docker: Add Docker Files to Workspace -> Python: Django -> Include docker compose files.
  3. Right click .debug.yml file -> Compose Up.
  4. Open the launch.json file -> Add a new "Python Debugger: Remote Attach" configuration.
  5. Navigate to "Run and Debug" view -> Select "Python Debugger: Remote Attach" -> F5.
  6. 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:

  1. This issue doesn't reproduce after install Python extension v2024.0.0.
  2. This issue also reproduces for Flask project.
@bwateratmsft
Copy link
Collaborator

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.

@bwateratmsft bwateratmsft added this to the 1.30.0 milestone Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants