I install Odoo11 and Intellij 2017.3.2 on my PC(windows 10). I open the server directory of Odoo11 with Intellij and set the python framework. And install some requirements and VC++ 14 runtime. I want to use Intellij to debug odoo addons code and set the break point at odoo code.
I use the parameter of Script Path as odoo-bin and Paraemeters as "-w openpgpwd -r openpg --addons-path=odoo/addons" in Intellij. And then run the Intellij project.
I see the warn message of standard output.
Use Intellij to run the server directory of Odoo11 , and then the porogram stop at the line as below:
2018-04-02 07:58:34,476 20180 INFO ? odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at C:\Program Files (x86)\Odoo 11.0\thirdparty\wkhtmltopdf.exe
The odoo web page[localhost: 8069 ] does not display? Does somebody know how to run in Intellij and debug with adding break? How can I run odoo source code to open the odoo web page and debug some break points?
Error message in output windows as below:
"C:\Program Files (x86)\Odoo 11.0\python\python.exe" odoo-bin -w openpgpwd -r openpg --addons-path=odoo/addons
ERROR: couldn't create the logfile directory. Logging to the standard output.
2018-04-02 07:58:33,874 20180 INFO ? odoo: Odoo version 11.0-20180302
2018-04-02 07:58:33,874 20180 INFO ? odoo: Using configuration file at D:\tmp\server1\odoo.conf
2018-04-02 07:58:33,874 20180 INFO ? odoo: addons paths: ['C:\\Users\\user1\\AppData\\Local\\OpenERP S.A.\\Odoo\\addons\\11.0', 'D:\\tmp\\server1\\odoo\\addons']
2018-04-02 07:58:33,874 20180 INFO ? odoo: database: openpg@localhost:5432
2018-04-02 07:58:33,897 20180 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2018-04-02 07:58:34,476 20180 INFO ? odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at C:\Program Files (x86)\Odoo 11.0\thirdparty\wkhtmltopdf.exe