Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
9521 Visualizações

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
Cancelar
Melhor resposta

Start the server instance and append

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


Avatar
Cancelar
Melhor resposta

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

The debugger output will be visible in the terminal.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
ago. 18
6878
3
fev. 25
3266
0
mai. 24
46
1
abr. 24
3212
3
dez. 23
14520