debug
debug copied to clipboard
DEBUG_HIDE_DATE doesn't exist / do anything
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.
I'm doing this as a temporary workaround:
import debug from 'debug';
(debug.inspectOpts ??= {}).hideDate ??= !!process.env.DEBUG_HIDE_DATE;