Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
9664 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
7033
3
feb 25
3613
0
mag 24
46
1
apr 24
3381
3
dic 23
14772