Search code examples
node.jsintellij-ideaenvironment-variableswebstorm

Set Node.js environment variables in WebStorm


Is there any way to set environment variables when running a Node.js app using JetBrains' official Node plugin for WebStorm (and their other IDEs as well)?


Solution

  • No, it's not possible from WebStorm, environment variables should be defined in your system.

    UPDATE: in the new versions it's possible to set environment variables in the Run/Debug configuration.