Establecer Nodo.variables de entorno js en WebStorm


Hay alguna forma de establecer variables de entorno cuando se ejecuta un nodo.aplicación js utilizando el plugin de nodo oficial de JetBrains para WebStorm (y sus otros IDE también)?

Author: Makoto, 2011-10-10

2 answers

No, no es posible desde WebStorm, las variables de entorno deben ser definidas en su sistema.

UPDATE: en las nuevas versiones es posible establecer variables de entorno en la configuración Run/Debug.

 4
Author: CrazyCoder,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-07-19 14:32:57

En realidad es posible Aquí está el documento oficial: http://www.jetbrains.com/webstorm/webhelp/run-debug-configuration-node-js.html

Aquí está mi captura de pantalla introduzca la descripción de la imagen aquí

 34
Author: Zainan Victor Zhou,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-06-11 05:06:25