Creates super long stack traces
JavaScript R
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
benchmark
test
.eslintrc
.gitignore
.travis.yml
LICENSE.md
README.md
benchmark.js
example.js
package.json
trace.js

README.md

trace Build Status

Creates super long stack traces

See http://andreasmadsen.github.io/trace/ for examples.

Trace only works with node.js v4 and newer.

Know issue: Some are expericing issues in node.js v6.4 and v7. We are currently investigating, follow progress at: https://github.com/nodejs/node/issues/8216

How

npm install trace
node --stack_trace_limit=100 -r trace debug-me.js

This will provide a very long stack trace, if you are not interested in node internal lines, take a look at clarify.

npm install clarify
node --stack_trace_limit=100 -r trace -r clarify debug-me.js

For specific examples see http://andreasmadsen.github.io/trace/.

Found a bug?

I encourage you to file any bugs you may find, even if you can't reduce the issue to only involve nodecore modules. I will then use all my power to fix it.

I want this module to be the best and most trusted async trace module ever!