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

I am using `socket.io`, which in turn uses `debug` for its logging needs. While it's nice that that means I can easily turn on/off logging via an environment variable, I...

The `%d` formatter coerces any floating point number such as `0.3123` to an integer. The documentation should mention this. The only way I could find to print the full number...

This change recognizes the `DEBUG_USE_STDOUT` environmental variable to allow log messages to be directed to `STDOUT` when the NodeJS version is being used. Please refer to #964 for the use...

I have a situation where Atlassian Bamboo is being used for deployments (Don't blame me--not my choice). Unfortunately, in `log()` of `node.js` the file descriptor is hard coded to `stderr`....

Hello, There are some colors in the browser.js which are not readable when dark mode is used in chrome devtools. Especially, these two: ```text // "#0000CC", // "#0000FF", // "#0033CC",...

# Description How to set max array length (`maxArrayLength`)? # Code I run ```ts import debug from 'debug' const log = debug('myApp'); const justArray = new Array(10_000).fill(0); log({justArray}) const objWithNestedLongArray...

bug

The readme refers to an env var `DEBUG_HIDE_DATE` that's supposed to suppress printing a date with log output, but the code doesn't seem to do anything with this variable.

A quick explanation: ```javascript var debug = require('debug')('http'); const error = new Error('hi'); error.info= { display: 'me' }; debug(error) ; debug('', error); // this will output info object ``` This...

Hi, I don't know where to put this obvious suggestion, but it seems like this issue gets created multiple times and then summarily closed off. Rather to ask for an...

… Complexity #957 written a function to avoid CWE-1333 issue on the Checkmark