debug-proxy
debug, loaded asynchronously using require.ensure
when
it's needed on the client. Only load debug when it's being used.
$ npm i debug-proxy --save
Use it like you would debug.
var debug = 'some-namespace'; ;
To enable debugging, open the console and run
windowlocalStoragedebug='*'; // Or x:*, etcwindow;
This will asynchronously load debug using require.ensure
. Debugging events will appear in your console immediately.
To disable debugging, run
window;
Licence
MIT