Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
9691 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Start the server instance and append

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


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

The debugger output will be visible in the terminal.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 18
7055
3
ก.พ. 25
3658
0
พ.ค. 24
46
1
เม.ย. 24
3414
3
ธ.ค. 23
14783