-
Notifications
You must be signed in to change notification settings - Fork 6
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
Debug mode is not activated #4
Comments
It seems like that the additional Otherwise which doblib and debugpy version is installed inside of the container? ( |
I attached shell to dob container and run I see this log:
And this is the result of
|
I suspect a timing issue. If I create a similar setup and press F5 once it hangs because vscode isn't attaching. If I press F5 again it attaches to the container and runs. I guess that vscode is currently not waiting before attaching to the port. |
Indeed, dear @fkantelberg. If I run F5 twice, the first time to bring up the service and the second time to try again to connect to the debug port, I was able to put VSCode in debug mode. Thanks for your time and for building this awesome tool. |
Environment:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Context:
I follow readme executing:
In this way I have an Odoo instance running with no issue
I execute
docker-compose down -v
and create my .vscode following this guideProblem
Try to run with F5 from vscode but no debugger session is started.
Checks
If execute command of tasks.json Odoo is started with no issue too.
I double check if have debugpy installed and ports opened
The text was updated successfully, but these errors were encountered: