How to find the Javascript code from where a Ajax request triggered? In Firebug\'s console we are able to identify the file and line number, but if we\'re using $.ajax
This may not have existed in earlier Chrome versions, but Version 56.0.2924.87 has an 'Initiator' column that tells the html/ js file and exact line within that file that initiated the request.
This request can be XHR, http request for jpg, css or anything else.
Pretty sleek and helpful in tracing back requests.
Here's how to use it?