backtrace-debug
debug with backtrace-logging
- Hide unnecessary logs until an error occurs
- Drop-in replacement for debug
Install
npm install backtrace-debug
Usage
import debug from 'backtrace-debug'
Caveats
Millisecond diffs don't work because all the calls are essentially applied at the end.