debug icon indicating copy to clipboard operation
debug copied to clipboard

A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers

Results 97 debug issues
Sort by recently updated
recently updated
newest added

We **ONLY** use `ms` for converting millisecond number to human-readable string. So, we can inline it for **smaller** install size. **Edit:** `debug` use ±15% code of `ms@2`.

I ran into an issue with named imports that was similar to #1001, and then I noticed that the README does not include any information on how to import this...

Based on what past few hours happened, I propose for using npm trusted publishing with OIDC, it has generally available on July 31. See this [GitHub Changelog](https://github.blog/changelog/2025-07-31-npm-trusted-publishing-with-oidc-is-generally-available/) for more information....

# MESSAGE FROM @Qix- : PLEASE SEE https://github.com/debug-js/debug/issues/1005#issuecomment-3266868187 FOR LATEST UPDATES. --- Version not present in this repo has been pushed out to `npm`. https://www.npmjs.com/package/debug/v/4.4.2?activeTab=code `src/index.js` seems to contain ~a...

Is it possible to use this library but with output as json to feed in things such as logstash / kibana ?

@Qix-, I suggest taking another look at https://github.com/debug-js/debug/pull/1003. I see you get lots of nonsensical PRs touching package.json and I suppose I can understand trigger-happy closing, but that one really...

I've found `console.group` handy a few times (even moreso `console.groupCollapsed`). The ability to log all the details of (for example) an event that is going to fire numerous times, but...