Open songololo opened 3 years ago
I have the same issue.
Same issue.
As a temporary workaround, I am using the following option:
in the run configuration.
I think there is an underlying issue with PyCharm here.
I noticed that, when running tests, it does not pick up the environment variables from the Run Configuration Environment if I use Run. However, it does pick them up if I use Debug.
I'm encountering the same issue with PyCharm 2023.1.3 (CE), but not always: when I run (not debug) a run configuration with module name uvicorn
(rather than e.g. running a script path), the environment variables are not picked up. If I debug the same run configuration, the environment variables are picked up.
@nrontsis 's workaround (using "Emulate terminal in output console") also works in this case.
In my case the plugin works when running a configuration in debug mode, but doesn't work in run mode.
Is there a configuration issue on my end or is this possibly a bug?
Pycharm version 2020.3