|
Debugging Express
Express uses the debug module internally to log information about route matches and application mode. To see this information, simply set the DEBUG environment variable to express:* when launching your app and the debug information will appear on the console.
$ DEBUG=express:* node app.js
Running this on the hello world example would print the following
express:application booting in development mode +0ms
express:router defined get /hello.txt +0ms
express:router defined get /hello.txt +1ms
For more documentation on debug, see the debug guide |
|