Skip to main content
Express Rate Limit supports debug logging similar to Express via the debug library.

Basic debugging

To see all the internal logs from Express Rate Limit, set the DEBUG environment variable to express-rate-limit when launching your app:
On Windows, use the corresponding command:
Running this command on a basic configuration prints output similar to the following at instance creation:
When a request is then made to the app, you will see the logs similar to these:

Other logs and advanced usage

Set the value to * to see all debug logs from Express and anything else that uses the same debug convention. See https://www.npmjs.com/package/debug for more advanced usage.