nodejs调试

Nodejs 调试方法     这两天鼓捣了一下node项目,记录一下node的调试方法。     前端开发的调试可以用打日志(console.log)或者断点调试(debugger;配合Chrome或firebug)甚至IDE(webstorm)来调试。 Node也差不多。 打日志     console.dir,console.log,引入 asserts 模块,对调试区域进行debug等方法
相关文章
相关标签/搜索