Search This Blog


Node JS debugging

Node Inspector is a debugger interface for Node.js applications.

Install the Node Inspector by the following command.
$ npm install -g node-inspector

Debug your application by the following command.The node-debug command will load Node Inspector in your default browser.
node-debug index.js

Use the debugger; in your code , to watch the values/debug , when you call node js app from HTML based client App.

No comments: