Node.js 附加到Chrome DevTools调试
在package.json的scripts中加入“test:debug”(–inspect是调试模式)
npm run test:debug
在回显中有一个URL,在Chrome中打开。
点击。
出现
在package.json的scripts中加入“test:debug”(–inspect是调试模式)
npm run test:debug
在回显中有一个URL,在Chrome中打开。
点击。
出现