B T
B T

Reputation: 60885

Is there a way to tell what is keeping a node.js program alive?

I have a node.js program that's hanging after completing everything I want it to do. I'm fairly certain it is an open connection somewhere that is keeping the program from exiting. Is there a way to tell/debug what is keeping the program from exiting?

Unnecessary edit: This question is in no way similar to my question: How do I debug Node.js applications? . Thanks for playing tho..

Upvotes: 4

Views: 608

Answers (1)

actor203
actor203

Reputation: 186

There is an npm module Why is node running module which helps in "Node is running but you don't know why?"

Upvotes: 4

Related Questions