Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
command to switch on long stack traces
JavaScript
tree: 7f7e110a7b

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
example
test
.travis.yml
README.markdown
package.json

README.markdown

tracer-bullet

Run node applications with long stack traces.

build status

tracer bullet

example

Instead of doing require('long-stack-traces') in your application, just execute your script with tracer-bullet instead of node.

$ tracer-bullet fail.js
Uncaught Error: boo
    at Array.h (/home/substack/projects/tracer-bullet/example/fail.js:10:11)
    at EventEmitter._tickCallback (node.js:192:40)
----------------------------------------
    at EventEmitter.nextTick
    at Object.g (/home/substack/projects/tracer-bullet/example/fail.js:6:13)
    at Timer.ontimeout (timers.js:94:19)
----------------------------------------
    at Object.setTimeout
    at Object.f (/home/substack/projects/tracer-bullet/example/fail.js:2:5)
    at Timer.ontimeout (timers.js:94:19)
----------------------------------------
    at Object.setTimeout
    at Object.<anonymous> (/home/substack/projects/tracer-bullet/example/fail.js:1:63)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:31)
    at Function._load (module.js:308:12)
    at Module.require (module.js:354:17)
    at require (module.js:370:17)
    at Object.<anonymous> (/home/substack/projects/tracer-bullet/bin/command.js:7:1)

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^

install

With npm do:

npm install -g tracer-bullet

license

MIT

Something went wrong with that request. Please try again.