A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers. Installation Usage debug exposes a function; simply pass this function the name of your module, and it will return a decorated version of console.error for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well
![debug](https://cdn-ak-scissors.b.st-hatena.com/image/square/c3e6ffb737aa61b017c8acd52b1913aedd9e9343/height=288;version=1;width=512/https%3A%2F%2Fstatic-production.npmjs.com%2F338e4905a2684ca96e08c7780fc68412.png)