node begining
*/-->
pre {
background-color: #2f4f4f;line-height: 1.6;
FONT: 10.5pt Consola,"Bitstream Vera Sans", Courier New, helvetica;
color:wheat;
}
.h3 {
margin-left: 10pt;
}
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 (תÔØÇë×¢Ã÷³ö´¦)