WSL ignores environment variables in 2019.3
Just a heads up if you're upgrading to 2019.3: I'm running a Node 12.10 app under WSL (v1) with Ubuntu 18.04 on a Windows 10 box. After upgrading to 2019.3, my app wouldn't start because WSL wouldn't recognize my environment variables, even if I tried logging them with `process.env` they weren't there. After troubleshooting for a while, I downgraded to 2019.2.4 and everything worked normally again.
Please sign in to leave a comment.
works fine for me using similar configuration:
Does it happen with custom vars defined in run configuration or with system environment variables? Can you reproduce the issue in a brand new project?
Please configure more verbose logging:
#com.intellij.execution.wslentryRestart IDE, reproduce the issue and provide your idea.log (Help >Show Log in Explorer)
My mistake - it doesn't actually work for me as well (process.env.USER is logged correctly because my WSL USER value is the same as the one I set in my run configuration). Logged as https://youtrack.jetbrains.com/issue/WEB-42738, please follow it for updates