debug
debug copied to clipboard
Fix/debug depth
This PR fixes https://github.com/debug-js/debug/issues/746
It comes complete with mocha tests.
@Qix- Apologies for the mess on on the previous PR https://github.com/debug-js/debug/issues/746 as forgot about the PR completely and have been pushing various fixes to it.
This will also fix up all other issues related to the DEBUG env variables not being registered. The main issue is that util.format needs to be replaced with util.formatWithOptions, to receive export.inspectOpts that has the DEBUG env variables.
Please, this looks like ready to merge :) @Qix-