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

Hello,

I installed PyCharms which is on my local Windows OS machine. I have odoo server running on some IP. I configured remote debugging in pycharms and configured the interpeter to be the one on server. This is all easily done with PyCharms online tutorials.


But what do I have to configure on odoo server side? Do I have to change some files, enable debugging or so? Has anybody successfuly used PyCharms to debug odoo remotely?                    

อวตาร
ละทิ้ง

you may get some help from here: http://stackoverflow.com/questions/10240018/how-to-use-pycharm-to-debug-python-script

คำตอบที่ดีที่สุด

Teoreticaly it can be done.. but much easier way is to setup local development environment, debug/write code and deploy code to server...

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

I use pudb and pdb .

For use it . You must "import pudb" and when you want have your debug console you must use "pudb.set_trace()"

.

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

Guys in order to be able of debug on odoo 8 or later. We have to edit something first on the main __init__.py file. Check this post here by Axel.

https://www.odoo.com/forum/help-1/question/pycharm-4-odoo-debug-not-working-port-8072-96628#answer-99051

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 17
5069
6
มี.ค. 23
35248
6
เม.ย. 20
17201
0
ก.พ. 18
6888
2
มี.ค. 15
5101