Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to Debug odoo python via PyCharms

By
Sanjin Šarić
on 5/15/15, 8:48 AM 1,331 views

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

Jusab Sida (jsi)
on 5/26/15, 12:59 AM
1

Bole

--Bole--
2385
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

there is only 10 kind of people the ones that understand binary ... and others

Bole
On 5/25/15, 9:15 AM

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

1
John Touba
On 5/25/15, 4:09 PM

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

.

0
Noel Jesús Rivero
On 5/9/16, 10:05 PM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 5/15/15, 8:48 AM
Seen: 1331 times
Last updated: 5/9/16, 10:05 PM