Go to the "Scripts" tab in the Google Chrome Developer Tools and set the Event Listener breakpoint to the click event (or something else) and press "up". Then it will stop executing immediately, and you can manually go through the whole process of execution using the function.
source share