Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
9520 Näkymät

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
Hylkää
Paras vastaus

Start the server instance and append

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


Avatar
Hylkää
Paras vastaus

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

The debugger output will be visible in the terminal.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
elok. 18
6878
3
helmik. 25
3265
0
toukok. 24
46
1
huhtik. 24
3211
3
jouluk. 23
14520