Skip to Content
Menu
This question has been flagged
2 Replies
9687 Rodiniai

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

Portretas
Atmesti
Best Answer

Start the server instance and append

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


Portretas
Atmesti
Best Answer

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

The debugger output will be visible in the terminal.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
rugp. 18
7053
3
vas. 25
3653
0
geg. 24
46
1
bal. 24
3408
3
gruod. 23
14777