Skip to content

About

Minimal Odoo project to test PyCharm debugger in Docker

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Minimal Odoo project to test PyCharm debugger.

  1. Create docker-compose interpreter for the web service.

Path to the interpreter is /usr/bin/python3.

  1. Create a run/debug configuration like the following:

Note the parameters

run config

  1. An example of path mappings:

path mapping

  1. Run the web service, open in browser, finish initial setup.

  2. Install the module my_module

For the settings to become active, you may need to install one of the apps, e.g. "Sales"

  1. Place a breakpoint in the controller script

  2. Run configuration with the debugger.

  3. Trigger the breakpoint by requesting http://localhost:8069/my_module/foo from the web browser or using curl.

About

Minimal Odoo project to test PyCharm debugger in Docker

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages