If your codebase uses the two methods .setImmediate and .nextTick from the library async, then after doing the following monkey-patching you can call the function global.printStack() to get the full stack trace.