Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
9588 Prikazi

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
Opusti
Best Answer

Start the server instance and append

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


Avatar
Opusti
Best Answer

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

The debugger output will be visible in the terminal.

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
avg. 18
6924
3
feb. 25
3398
0
maj 24
46
1
apr. 24
3288
3
dec. 23
14621