-
Notifications
You must be signed in to change notification settings - Fork 527
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
Entrypoint command missing on django app #2334
Comments
@general03 This is by design. The The debugging flow is covered in https://code.visualstudio.com/docs/containers/debug-python which is also linked in the Python Dockerfile. |
Thanks @bwateratmsft But I don't understand why my breakpoint is not reachable, my container started right but nothing append (error or something else). The blue loading run in the runbar without end |
Is there any output in the Terminal window for "Python Debug Console": Or in the Output window from Python: This sounds like #2313, that user was also on Linux. |
@bwateratmsft you are a genius ... Thanks again |
@general03 Did you also need to add |
Yes, because I'm on linux ? |
Gotcha. Yeah, we definitely didn't intend for that to be a necessary step. I've fixed the code path in #2331; in the future adding that |
Hi,
I configured my
launch.json
file in my projectWith this task.json
The build works well without error and my container is up.
But when the build run is executed it miss the
entrypoint
command like I put in the previous filepython manage.py runserver 0.0.0.0:8000
, I see in the console this automatic command> docker run -dt -P --name "myapp-dev" --label "com.microsoft.created-by=visual-studio-code" -v "/home/general03/.vscode/extensions/ms-python.python-2020.8.109390/pythonFiles/lib/python/debugpy:/debugpy:ro" --entrypoint "python" "myapp:latest" <
What I miss ??
Thanks
Docker extension 1.6.0
Python extension v2020.8.109390
Version: 1.49.1
Commit: 58bb7b2331731bf72587010e943852e13e6fd3cf
Date: 2020-09-16T23:23:33.049Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 4.19.0-10-amd64
The text was updated successfully, but these errors were encountered: