I am currently a trainee as an odoo developer. There are multiple IDEs where we can use debug odoo like my team mates are doing. some on pycharm, some on eclipse and so on. I used to do development on Visual Studio code and run through Python interpreter. But now, I want to switch to proper IDE. I have downloaded visual studio 2019 for this purpose.
My question is, how to create and edit debug configuration for odoo like we do in pycharm. what I did is
- created a new project of python application
- right click on solution > add > existing folder and then selected whole odoo folder that I have downloaded from github
- right click on solution > properties and in general tab, I gave path of 'odoo-bin' against 'startup file' and in debug tab, gave configuration of odoo i.e.
(-r db_user -w db_password --addons-path=addons
).
now, every time it breaks debugging and shows error
exception thrown (None,)
please guide me how to setup odoo on visual studio
every where pycharm tutorial: https://learnopenerp.blogspot.com/2019/10/configure-pycharm-with-odoo.html
than why visual studio?
new to odoo but in practice of python since more than 4 years. and use visual studio code and visual studo for development purpose and jupyter for AI things.
used to of these environments. that's why.