'DEBUG' 不被 Meteor 识别为内部命令

' DEBUG ' is not recognized as internal command with Meteor

当我在控制台中执行以下命令时,它不起作用:

 DEBUG=1 JASMINE_DEBUG=1 VELOCITY_DEBUG=1 VELOCITY_DEBUG_MIRROR=1 meteor 

我收到以下消息:

' DEBUG ' is not recognized as internal command

我假设您正在使用 Windows?不要在 运行 时在命令行上添加这些环境变量,而是使用以下命令来设置这些变量:

set DEBUG=1
set JASMINE_DEBUG=1
set VELOCITY_DEBUG=1
set VELOCITY_DEBUG_MIRROR=1

然后运行流星。要关闭它,您需要将它们设置回零或清除它们。您可以编写一个bat脚本来为您做这件事,以使其更容易。