Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/AndreasMadsen/trace

Creates super long stack traces
https://github.com/AndreasMadsen/trace

asynchronous debugging javascript stack-traces trace

Last synced: about 1 month ago
JSON representation

Creates super long stack traces

Lists

README

        

# trace [![Build Status](https://secure.travis-ci.org/AndreasMadsen/trace.svg)](http://travis-ci.org/AndreasMadsen/trace)

> 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

```sheel
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](https://github.com/AndreasMadsen/clarify).

```sheel
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!