microsoft / vscode-python

Python extension for Visual Studio Code
https://aka.ms/pvsc-marketplace
MIT License
4.33k stars 1.19k forks source link

The link is invalid when debugging in docker. #18189

Open linette-zyy opened 2 years ago

linette-zyy commented 2 years ago

VS Code version

1.64.0-insider (user setup)

Extension version

v2022.0.1578295602-dev

OS type

Windows

OS version

Win10

Python distribution

python.org

Python version

3.9.9

Language server

Default

Expected behaviour

Debug in Docker successfully and can hit the breakpoint.

Actual behaviour

Invalid link shown image

Steps to reproduce

1.Git clone https://github.com/qubitron/pydemo 2.Open Anaconda Prompt window 3.Cd pydemo 4.Run py -3 setup.py 5.Open "stackoverflow-flask" folder and open "app->main.py" 6.Set a breakpoint in line 6 7.Switch to "dockerized" branch image 8.Change "DEBUG" configuration to "Python: Run in Docker" image 9.Start to debug

Logs

No response

Code of Conduct

paulacamargo25 commented 2 years ago

Thanks for the bug report, I tried to reproduce the issue, but I can't find any dockerized branch in the project, could you tell me if the error persists? Thank you

ttSpace commented 2 years ago

In today's build, Invalid still exist.

Build Info

``` Build of Visual Studio Code - Insiders: 1.67.0-insider(user setup) Build of python-insider: v2022.5.11051003 Build of jupyter-insider: v2022.4.1001071005 Build of pylance-insider: v2022.4.1 Build of jupyter Notebook Renderers: v1.0.6 Build of jupyter Keymap: v1.0.0 ```

image