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 link is invalid when debugging in docker. #18189

Closed
1 task done
linette-zyy opened this issue Dec 15, 2021 · 3 comments
Closed
1 task done

The link is invalid when debugging in docker. #18189

linette-zyy opened this issue Dec 15, 2021 · 3 comments
Assignees
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug needs PR Ready to be worked on

Comments

@linette-zyy
Copy link

linette-zyy commented Dec 15, 2021

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

  • I agree to follow this project's Code of Conduct
@linette-zyy linette-zyy added bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team labels Dec 15, 2021
@paulacamargo25 paulacamargo25 self-assigned this Dec 15, 2021
@paulacamargo25 paulacamargo25 added triage and removed triage-needed Needs assignment to the proper sub-team labels Dec 15, 2021
@paulacamargo25
Copy link

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

@paulacamargo25 paulacamargo25 added the info-needed Issue requires more information from poster label Mar 30, 2022
@ttSpace
Copy link

ttSpace commented Apr 19, 2022

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

@karthiknadig karthiknadig added triage-needed Needs assignment to the proper sub-team and removed triage labels May 4, 2022
@brettcannon brettcannon added area-debugging and removed info-needed Issue requires more information from poster labels Jun 30, 2022
@paulacamargo25 paulacamargo25 added needs PR and removed triage-needed Needs assignment to the proper sub-team labels Jul 13, 2022
@paulacamargo25 paulacamargo25 removed their assignment Jul 13, 2022
@github-actions github-actions bot removed the needs PR label Aug 9, 2022
@karrtikr karrtikr added the needs PR Ready to be worked on label Aug 9, 2022
@karthiknadig
Copy link
Member

The link shown here comes from flask, we don't control this. In Dockerized cases, you would have to configure the debugger differently, in a remote-attach mode for it to work, and add a preLauncTask that starts the container.

@karthiknadig karthiknadig closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug needs PR Ready to be worked on
Projects
None yet
Development

No branches or pull requests

6 participants