Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

samshull/tracable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracable

Show long stack traces without interfering with existing objects and functions.

For a given function somethingThatMightError, show the node stack trace before somethingThatMightError is called.

example:

var tracable = require('tracable');

var tracableFunction = tracable(function() {
  somethingThatMightError();
});

setTimeout(tracableFunction, 1000);

//... do other stuff until the tracable function executes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published