Finding the code that started an Ajax request from Chrome Dev Tools

It’s possible to trace back to the code that triggered an Ajax call from the Network tab of the Chrome Developer Tools.

From the network tab, simply check the initiator column of the request list, by hovering the mouse over it the stack trace that lead to that request will be displayed.

Leave a Reply

Your email address will not be published. Required fields are marked *