Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
9969 Vues

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
Ignorer
Meilleure réponse

Start the server instance and append

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


Avatar
Ignorer
Meilleure réponse

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

The debugger output will be visible in the terminal.

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
août 18
7303
2
août 25
2876
3
févr. 25
4088
0
mai 24
46
1
avr. 24
3655