-
Notifications
You must be signed in to change notification settings - Fork 515
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
Python docker debug launch - Cannot read property 'python' of undefined #2077
Comments
|
@revmischa Did you add this launch config directly to launch.json or did you use one of the commands I am able to reproduce this issue if the dependent pre-launch task |
@bwateratmsft I just copied it from https://code.visualstudio.com/docs/containers/debug-common#_python |
Ok. If you already have a dockerfile can you try doing @ucheNkadiCode, we need to update the docs to make it clearer that copying the launch config isn't sufficient. I filed microsoft/vscode-docs#3791 for that. @haniamr, we should try to detect this failure condition and give a better error message. |
That does solve the error at least, but I want to use docker-compose |
We don't currently have integrated docker-compose debugging, but @haniamr might be able to help you set up an attach configuration that will work. |
Does this occur consistently? Yes
Repro steps:
Create launch config: https://code.visualstudio.com/docs/containers/debug-common#_python
Action: docker-launch
Error type: TypeError
Error Message: Cannot read property 'python' of undefined
Version: 1.3.0
OS: darwin
OS Release: 19.5.0
Product: Visual Studio Code
Product Version: 1.46.0
Language: en
Call Stack
The text was updated successfully, but these errors were encountered: