Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
9689 Visninger

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
Kassér
Bedste svar

Start the server instance and append

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


Avatar
Kassér
Bedste svar

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

The debugger output will be visible in the terminal.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
aug. 18
7053
3
feb. 25
3653
0
maj 24
46
1
apr. 24
3408
3
dec. 23
14777