用了 debug 模块后在 linux 中启动:
DEBUG=mydebug:* node app.js
我想知道前面的 DEBUG=mydebug:* 是表示什么意思呢?
好像也不是定义变量的意思,因为我执行:
DEBUG=mydebug:* echo ${DEBUG}
是输出空
执行:
DEBUG=mydebug:* && echo ${DEBUG}
是输出 mydebug:*
DEBUG=mydebug:* node app.js
我想知道前面的 DEBUG=mydebug:* 是表示什么意思呢?
好像也不是定义变量的意思,因为我执行:
DEBUG=mydebug:* echo ${DEBUG}
是输出空
执行:
DEBUG=mydebug:* && echo ${DEBUG}
是输出 mydebug:*