Debugging on Chrome (and other browsers)


I am having a few debugging problems with my current project: when I compile it and it opens in Chrome it looks like there is something very heavy and invisible running, that slows down and often hangs the app when it should be idle, but I can’t understand what it is: the Chrome console freezes and I can’t scroll it anymore, but the app doesn’t crash and I can continue interacting with it. When I launch an animation the console unlocks, as if the invisible problem was temporarily interrupted.

Is there a way to see if there are loops or whatever running in the background? I tried to insert traces everywhere, but couldn’t find anything.