Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
9565 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

Start the server instance and append

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


Imagine profil
Abandonează
Cel mai bun răspuns

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

The debugger output will be visible in the terminal.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
aug. 18
6910
3
feb. 25
3354
0
mai 24
46
1
apr. 24
3259
3
dec. 23
14575