node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

tracable

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