node begining
Install
Download and install node installer.
Hello Node
Editor
Currently, we prefer nodepad++ in the windows.
Debugging
The easier way to debug node application is using node-inspector.
npm install -g node-inspector
Start the Web application with debug mode
node --debug server.js
start node inspector
node-inspector
Browser http://127.0.0.1:8080/debug?port=5858 in the Chrome, and set the breakpoint
visit the web application
Post by: Jalen Wang (×ªÔØÇë×¢Ã÷³ö´¦)
本文详细介绍Node.js的安装步骤,推荐使用NodePad++作为编辑器,并介绍如何使用node-inspector进行应用调试。通过设置断点,可在Chrome浏览器中调试运行在本地服务器上的Web应用程序。
584

被折叠的 条评论
为什么被折叠?



