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
Something like this `log('I like %O', { name: '%sugar%' });` will cause output incorrect.
If a lot of different users interact with your application at the same time and calling async calls, you get log output that is a combination of all these actions...
Create React Apps have the [nifty feature](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-development-environment-variables-in-env) of getting environment variables either from the shell or `.env` files. These are then resolved and baked into the JS bundle by webpack....
I'm sure i'm doing something wrong, but I have this code and it's not printing any `debug` statement's ```js #!/usr/bin/env node const axios = require('axios') const program = require('commander') const...
Fairly specific use case here. I believe it applies to sourceless iframes and [puppeteer](https://github.com/puppeteer/puppeteer) users. As a puppeteer user, I'm creating a Window from html without going to a URL....
https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor > The `AudioWorkletProcessor` interface of the Web Audio API represents an audio processing code behind a custom `AudioWorkletNode`. It lives in the `AudioWorkletGlobalScope` and runs on the Web Audio...
Just upgraded from 2.6.8 to 4.1.1. I'm on Windows. The 256 colors do not work well in some environments - for example, Windows Command Prompt and the WebStorm debug console....
Coverity static analysis is complaining that `enable(namespaces)` uses an unescaped user input as the basis for a regular expression. It follows the path from the user-defined `window.localStorage.debug` value through the...
This PR rewrites the README in (relative) accordance with the [v5 roadmap](https://github.com/visionmedia/debug/issues/656). Instead of multiple sections documenting different parts in a seemingly random order, the new README documents the debug...
ReactNative renders in a document-less mode, but goes through the browser for their live builds. Fortunately they tag the navigator as ReactNative making this easy to check for.