node debug工具,node-inspector的安装启动
发布时间:2020-12-15 01:22:09 所属栏目:C语言 来源:网络整理
导读:$ npm install -g node-inspector 然后需要通过浏览器连接到node-inspector,需要启动inspector服务: $ node-inspector 最后以debug模式运行node.js应用: $ node --debug app.js 通过URL :8080/debug?port=5858 就可以进行调试了。 $ mocha [options] --de
$ npm install -g node-inspector $ node-inspector & $ node --debug app.js $ mocha [options] --debug-brk (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |