Search code examples
javascriptjquerygoogle-chromegoogle-chrome-devtoolsinspect-element

How can I find out which functions are being called?


I'm using mmenu jQuery plugin which makes the page slide to the left and displays a menu on the right when a user clicks a menu icon. To make the main page slide back the user has to click the main page on the left.

Using Chromes Developer Tools how can I find out which functions are being called so I can know which function is responsible for sliding the main page back to its original position?


Solution

  • What you could do, is making every function output their own name using

    console.log("function name");