I have a script written for Node.Js that collects a load of data, processes it, saves and then finishes. Unfortunately, something I did was prevent the script from ending and closing the node, but it remains open.
I will probably just work on the changes I made and try to track them, but ... Is there an easy way to debug a node and find out what code / event / callback / connection or something else that it is waiting?
I looked at the node-inspector, but I couldn't figure out how to track anything opening it. Any tips?
source share