Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
9507 Weergaven

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
Annuleer
Beste antwoord

Start the server instance and append

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


Avatar
Annuleer
Beste antwoord

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

The debugger output will be visible in the terminal.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
aug. 18
6867
3
feb. 25
3252
0
mei 24
46
1
apr. 24
3202
3
dec. 23
14513