-
Notifications
You must be signed in to change notification settings - Fork 137
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
Breakpoint not working in Odoo with multiple workers (gevent) #1277
Comments
Probably related to #1206. Can you try using |
when |
once turn off
the working launch.json
and odoo.conf
there have another prolem: it is can't shudown debug process in one click. |
It seems like Odoo is doing some unusual stuff, so we might have to add some specific support for it to make it work properly, on top of gevent support. |
setup monkey patch as
hope this should be helps. thanks. |
Any news about this ? Still cannot debug Odoo with multiple workers even with gevent and subProcess set to true. |
vscode version
Version: 1.76.1 (Universal)
Commit: 5e805b79fcb6ba4c2d23712967df89a089da575b
Date: 2023-03-08T16:32:09.831Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Darwin x64 22.4.0
Sandboxed: No
run Odoo with workers in devcontainer
lanuch.json
asbreakpoint not worked,
but run Odoo with thread mode in devcontainer
lanuch.json
asbreakpoint worked,
ref.
https://github.com/jeffery9/odoo-devcontainer
workers > 0 is workers mode. https://github.com/jeffery9/odoo-devcontainer/blob/3344530afa9685888b5b75b4594941fd0213c064/config/odoo.conf#L59
The text was updated successfully, but these errors were encountered: