tracable
v0.0.2
Published
Log the stack trace before a function was created.
Downloads
151
Readme
Tracable
Long stack traces without interfering with existing objects and functions. Just show the stack trace for before the function was created.
example:
var tracable = require('tracable');
var tracableFunction = tracable(function() {
somethingThatMightError();
});
setTimeout(tracableFunction, 1000);
//... do other stuff until the tracable function executes