debug
debug copied to clipboard
A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers
I've written types for the project based on the latest version. 1. I assumed the formatArgs accepts Array of strings. 2. this is still experimental, and I wish somebody will...
Let's maintain our own Types instead of relying on a very slow third party process to do it for us.
So that process that runs in Electron renderer process can log to the terminal if it runs in a headless mode, but to the browser console if it runs with...
Hello, Small question of which I don't know it's a bug or expected behaviour: In my express application I have the following app.use at the bottom: ``` app.use( (error, req,...
Avoiding recreating logger for the namespace which has been already created. Fix memory leak for a fixed number of categories. For dynamic categories method destroy is still required. #678
**Title:** Optimised debug information collection **Use Case:** Sometimes producing debug output is extra intensive on resource. If it won't be displayed (debug environment var not set or doesn't match) there...
This adds timed sections, similar to `console.time()` and `console.timeEnd()`. I understand completely if this isn't something you guys want added. However, it should be a non-breaking change. If it _is_...
When one does `debug({a:1, b:2});` the object properties' values are printed with colours  but when one does `debug("string", {a:1, b:2});` colours are gone  just FYI