تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
9672 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 18
7042
3
فبراير 25
3632
0
مايو 24
46
1
أبريل 24
3388
3
ديسمبر 23
14772