Hacker News new | ask | show | jobs
Ask HN: How can I generate call graphs in Node.js?
1 points by bansheehash 3497 days ago
I'm trying to debug nodejs code, and I've found an issue with a method within a service (SomeService.someMethod). I'd like to be able to generate call graphs for the method and find out all the methods that invoke it, something like this:

SomeService.someMethod

-> SomeOtherService.someOtherMethod -> ExpressRouteAController -> ExpressRouteBController

-> ThirdService.someOtherMethod -> ExpressAController

-> ExpressRouteCController

Is this even possible with node?