Skip to content

AndreasMadsen/trace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4c45a48 · Oct 23, 2024
Dec 23, 2015
Oct 23, 2024
Oct 28, 2018
Oct 28, 2018
Sep 14, 2012
Jul 26, 2016
Sep 14, 2012
May 29, 2017
Oct 15, 2015
Jan 6, 2014
Oct 23, 2024
Oct 23, 2024

Repository files navigation

trace Build Status

Creates super long stack traces

See https://trace.js.org for examples.

Trace only works with node.js v8.x and newer. Use npm install trace@^2 for node.js v6 and v4.

How

npm install trace --save
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 --save
node --stack_trace_limit=100 -r trace -r clarify debug-me.js

For specific examples see https://trace.js.org.

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!