Skip to Content
Menu
This question has been flagged
2 Replies
8216 Views

How can I debug own modules in odoo in realtime or the odoo modules? Without restarting or including the modules every time ?

Is there any way to debug python code like this? I mean to change a code part and then the chance is included automaticlly ?


Thank you

Avatar
Discard
Best Answer

Start the server instance and append

--dev=all
/path/to/odoo-bin -d mydb --dev=all


Avatar
Discard
Best Answer

Use PDB (Python Debugger) and run Odoo from command-line.

The debugger output will be visible in the terminal.

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 18
5893
3
Apr 24
1024
0
May 24
46
1
Apr 24
1829
3
Dec 23
12721