콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
10764 화면

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

아바타
취소
관련 게시물 답글 화면 활동
0
4월 17
4907
6
3월 23
34759
6
4월 20
16911
0
2월 18
6739
2
3월 15
4912