在WebStorm中设置Node.js环境变量 [英] Set Node.js environment variables in WebStorm

查看:128
本文介绍了在WebStorm中设置Node.js环境变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解决方案

不,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)?

解决方案

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.

这篇关于在WebStorm中设置Node.js环境变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆