Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Debug logs

Miroslav Bajtoš edited this page · 2 revisions

Node Inspector provide debug logs to simplify troubleshooting.

Setup

To enable debug logs, include one of Node Inspector filters in the environment variable DEBUG.

Unix (Linux, Mac OSX)

$ DEBUG={filter} node-inspector
# or
$ DEBUG={filter} node-debug app.js

Windows

C:\src> set DEBUG={filter}
C:\src> node-inspector
# or
C:\src> node-debug

Filters

All debug logs are prefixed with node-inspector.

  • DEBUG=node-inspector* prints everything
  • DEBUG=node-inspector:protocol:* dumps DevTools and V8 debugger communication.

See also

Documentation of the debug module: https://github.com/visionmedia/debug#conventions

Something went wrong with that request. Please try again.