In complicated system, how can I get a list of all the JavaScript files that has been fired during button click or click to input field?
Can I do it with chrome dev-tools or are there any other solutions? If I can do it with chrome dev-tools then how?
Problem that I am facing: I am trying to find file what contains method which I can intercept to add my custom validation before button click redirects to another page? File names are useful to me because the system is following clean code rules.
UPDATE:
I found this tutorial, but none of provided solution seems to work (I am certain that breakpoints are not working). The Visual Event
extension suggested by @Carles Alcove in referred post, lead me to knockout.js
file. In that file I added console.trace()
function (second image is the result) as suggested by @guest271314. First image is when I inspected the button with dev-tools as suggested by @user3297291