【发布时间】:2015-09-05 05:17:52
【问题描述】:
我正在使用一个可以从 Mac 机器上像这样启动的节点应用程序:
DEBUG=app.* ENVIRONMENT=local node server/index.js
但是,当尝试在 Windows 命令行中运行该脚本时,我收到以下消息:
" 'DEBUG' is not recognized as an internal or external command, operable program or batch file."
在没有参数的情况下运行脚本时,我没有收到任何错误。
如何将上述参数从 Windows 传递给我的 index.js?
【问题讨论】: