![]() ![]() Is WebStorm/IntelliJ running in some strange way that it can't access the environment variables set for the local user account? If the IDE was running as a background service or some other exotic executable context I could understand this, but as I said I launch it as a regular app under my user account and the whoami command shows the exact same user name as an external Terminal window does. I have already tried a full restart of my system to make sure it's not a transient issue. ![]() ![]() If I execute the whoami command from either an external Terminal window or from the Terminal window launched by WebStorm, I get the exact same user name (my user name for the user account I run while on my local Linux box), so it's not a problem with different user accounts. However, when I run WebStorm/IntelliJ, and use it's internal facility to launch a Terminal window, the environment variable can not be found: $>printenv | grep LINUX_DEV If I open a new Terminal window and run the following I do see the setting: $>printenv | grep LINUX_DEVĪll is well. bashrc file for the user account I run under when doing Linux based development, I set an environment variable to let my apps know they are running in the development environment as opposed to running under the production environment: LINUX_DEV=trueĮxport LINUX_DEV # Make LINUX_DEV an environment variable ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |