Debug logs
Miroslav Bajtoš edited this page Mar 17, 2014
·
2 revisions
Node Inspector provide debug logs to simplify troubleshooting.
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
All debug logs are prefixed with node-inspector
.
-
DEBUG=node-inspector*
prints everything -
DEBUG=node-inspector:protocol:*
dumps DevTools and V8 debugger communication.
Documentation of the debug module: https://github.com/visionmedia/debug#conventions