Settings

Theme

Ask HN: How can I generate call graphs in Node.js?

1 points by bansheehash 9 years ago · 0 comments · 1 min read


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?

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection