concept node - inspector in category meteor

appears as: node-inspector
Meteor in Action

This is an excerpt from Manning's book Meteor in Action.

11.2.2. Debugging using node-inspector

If you need to perform more sophisticated server-side debugging of an application, node-inspector is a handy utility. It’s a browser-based debugger interface for Node.js that you can use to set breakpoints, inspect source files, step through program execution, and inspect values and variables.

Passing the debug command to the meteor CLI tool provides a simple way to use node-inspector. Make sure you are in a project’s root directory and that it’s currently not running. Then issue this command:

$ meteor debug

Any WebKit-based browser is capable of running node-inspector, which means both Chrome and Safari can be used to access the debugging URL. You can’t use Firefox or Internet Explorer.

Figure 11.6. Inspecting and changing the contents of a variable with node-inspector
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest