Thursday, 5 November 2020

How would I detect infinite loops in Node.js?

I have a NodeJS app that seems to have an infinite loop due to persistent 100% CPU usage - https://github.com/3PG/Bot.

IDE: VSCode

I have changed many files and lines of code since June, but the problem still persists. I believe it is caused by an infinite loop.

How would I detect infinite loops in Node.js for TypeScript project?



from How would I detect infinite loops in Node.js?

No comments:

Post a Comment