petkaantonov/bluebird — pull request #16 by spion (2013-10-16 18:33:52+00:00)
Title: Enable longStackTraces in all instances of bluebird in node.js

In node, every module that has bluebird as a dependency has a potentially separate instance of it. This means its hard to enable longStackTraces globally

To solve this, bluebird now reads the environment variable BLUEBIRD_DEBUG when run from node. If its set it will enable long stack traces, allowing users to enable long stack traces across all BB instances.