Recently I've noticed that a site I develop loads CPU and eats memory up continuously, when user is inactive. It looks like there is some kind of infinite loop I've created in javascript.
Is there a way to find a function/command/etc, which loops infinitely without reading and 100% understanding every line of code? I tried console.log in most obvious places with no luck - those commands do not loop.