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 (תÔØÇë×¢Ã÷³ö´¦)