Skip to Content
Menu
This question has been flagged
2 Replies
9523 Zobrazenia

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
Zrušiť
Best Answer

Start the server instance and append

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


Avatar
Zrušiť
Best Answer

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

The debugger output will be visible in the terminal.

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
aug 18
6878
3
feb 25
3266
0
máj 24
46
1
apr 24
3212
3
dec 23
14520