Can PyCharm run/debug configuration environment variables reach production runtimes?
0 reputation · 19 Apr 2022, 09:38 UTC
Goal
Determine whether environment variables defined in a PyCharm run/debug configuration are automatically available to the same code when it is started by a production runtime such as systemd, Docker, or CI instead of the IDE.
Constraints
Run-configuration environment variables are injected only into processes launched from PyCharm. The IDE does not document automatic propagation to external process managers or container runtimes. Interpreter and Docker integration features may differ between PyCharm Community and Professional Edition.
Does PyCharm provide a supported way to propagate run-configuration environment variables to production deployment targets?