2

There is a new API in node 8 called 'async_hook' which I believe should make it possible for a module author to print async stack traces. I'm looking for something similar to chrome dev-tools async stack-trace implementation but for use from console during dev/debug.

I know this will come with performance overhead -- but that's fine with me.

Is anyone aware of any modules under development that do this?

ColinE
  • 68,894
  • 15
  • 164
  • 232
Ben
  • 977
  • 2
  • 11
  • 21

1 Answers1

-1

I wrote an npm module to track a user request context. You can use it or take some ideas from it.

The NPM module and a blog post about it

Guy Segev
  • 1,757
  • 16
  • 24