Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 调试模式/模块在节点js中不工作_Node.js_Npm_Config - Fatal编程技术网

Node.js 调试模式/模块在节点js中不工作

Node.js 调试模式/模块在节点js中不工作,node.js,npm,config,Node.js,Npm,Config,我已使用调试模块记录消息,如下所示,但未记录任何消息 const statrtupdebug=require('debug')('app:startup') const dbupdebug=require('debug')('app:db') //Debug statrtupdebug('test') dbupdebug('db debug') 使用以下命令运行应用程序 set DEBUG=app:* nodemon app.js 我没有得到任何回应。有人能帮我找到我缺少的东西吗?

我已使用调试模块记录消息,如下所示,但未记录任何消息

const statrtupdebug=require('debug')('app:startup')
const dbupdebug=require('debug')('app:db')
//Debug
statrtupdebug('test')
dbupdebug('db debug')
使用以下命令运行应用程序

set DEBUG=app:*
nodemon app.js
我没有得到任何回应。有人能帮我找到我缺少的东西吗?