Debugging/Profiling Node.js

node engine

  • knowing what requests are in flight or handles are active gives us important insight into our Node.js process
  • process._getActiveHandles, process._getActiveRequests and async_wrap hooks allow us to get a hold of them