Minimal Odoo project to test PyCharm debugger.
- Create docker-compose interpreter for the
web
service.
Path to the interpreter is /usr/bin/python3
.
- Create a run/debug configuration like the following:
Note the parameters
- An example of path mappings:
-
Run the web service, open in browser, finish initial setup.
For the settings to become active, you may need to install one of the apps, e.g. "Sales"
-
Place a breakpoint in the controller script
-
Run configuration with the debugger.
-
Trigger the breakpoint by requesting
http://localhost:8069/my_module/foo
from the web browser or usingcurl
.