Skip to content

Commit

Permalink
use long stack traces in forks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestalmage committed Dec 31, 2015
1 parent c7ce760 commit da6a2f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/test-worker.js
Expand Up @@ -23,6 +23,10 @@ if (debug.enabled) {

// bind globals first before anything has a chance to interfere
var globals = require('./globals');
var Promise = require('bluebird');

// Bluebird specific
Promise.longStackTraces();

(opts.require || []).forEach(require);

Expand Down

0 comments on commit da6a2f4

Please sign in to comment.