Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
10630 Visualizzazioni

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?                    

Avatar
Abbandona

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

Risposta migliore

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

Avatar
Abbandona
Risposta migliore

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()"

.

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 17
4804
6
mar 23
34557
6
apr 20
16712
0
feb 18
6678
2
mar 15
4730