Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
9813 Visualizzazioni

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
Abbandona
Risposta migliore

Start the server instance and append

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


Avatar
Abbandona
Risposta migliore

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

The debugger output will be visible in the terminal.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
ago 18
7167
2
ago 25
2685
3
feb 25
3927
0
mag 24
46
1
apr 24
3575