Skip to content

Minimal Odoo project to test PyCharm debugger in Docker

Notifications You must be signed in to change notification settings

aresler/odoo-dbg-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages