bs-node-debug
v0.2.0
Published
BuckleScript interface to the node 'debug' library
Downloads
7
Readme
bs-node-debug
A temporary interface to debug
, to be used until the rebug
Node backend is ready.
Example
let debug = Debug.make("my-app", "MyModule");
let debugExn = Debug.make("my-app", "MyModule:exn");
Js.Promise.catch((exn) => {
debug("Unhandled error:");
debugExn(exn);
resolve(None)
})