Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
9661 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

Start the server instance and append

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


Awatar
Odrzuć
Najlepsza odpowiedź

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

The debugger output will be visible in the terminal.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 18
7029
3
lut 25
3602
0
maj 24
46
1
kwi 24
3378
3
gru 23
14770