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)?
24
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
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
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
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