pycharm-odoo
pycharm-odoo copied to clipboard
support for selected test run/debug in docker (or at least venv)
Hi,
I know this is not the functionality you currently target, but you might know context :)
I am struggling to setup tests running/debugg'ing via https://www.jetbrains.com/help/pycharm/using-docker-as-a-remote-interpreter.html#run
maybe you have some hints or suggestions...
for example, for Django pycharm has some helpers, maybe they can be applied to odoo?
ps.: also is it possible to setup Python Console
to be bound to docker env
Hi @dz0 ,
What version of PyCharm are you using?
What version of PyCharm are you using?
PyCharm 2022.1.1 (Professional Edition) Build #PY-221.5591.52, built on May 10, 2022
on Ubuntu 20.04
maybe found a non-docker way (haven't tried) https://github.com/camptocamp/pytest-odoo/issues/31#issuecomment-489579074
@dz0
I tried running/debugging Odoo with Docker in PyCharm 2022.2 but due to some regression issues in PyCharm 2022.2, I could not do it. I will try again after JetBrains releases PyCharm 2022.2.1. Anyway, what problem do you have with venv?