简体   繁体   中英

How to determine what node.js is waiting on to finish execution

I have integrated a library which I am using that is causing my node.js application to remain running for an additional ~30 seconds after a simple operation. Is there a way to query and find out what callback this is waiting for? Even being able to set a breakpoint after the 30 seconds so I can see what did get called last would be very useful. I am debugging it in WebStorm.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM