diff --git a/README.md b/README.md index e21a4ad..07263a4 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ return server.listen(3000); ``` ## Debugging -To see debug output use `DEBUG=swagger-express-validator` as an environmental varialbe when starting +To see debug output use `DEBUG=swagger-express-validator` as an environmental variable when starting your project, eg.: `DEBUG=swagger-express-validator node server.js`. To gain more insights on how this works see documentation of [debug](https://github.com/visionmedia/debug) library diff --git a/index.js b/index.js index b6eb0c7..7f3f7b5 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ const _ = require('lodash'); -const debug = require('debug')('swagger-validator'); +const debug = require('debug')('swagger-express-validator'); const Ajv = require('ajv'); const util = require('util'); const parseUrl = require('url').parse;