Currently, I am investigating a potential issue in an Angular application involving the JavaScript responsible for scrolling a page when a user clicks on a link. The process seems straightforward – click the link, and the page scrolls. However, I am struggling to identify which functions are invoked upon clicking the link, especially in a complex app consisting of numerous separate files.
I have come across suggestions to use breakpoints by setting them up through the SOURCES tab in Chrome DevTools. Unfortunately, despite opening several JS files in the devtools, I have not been able to locate any breakpoint options to analyze.
Is there a method within Chrome's DevTools that allows me to determine which JavaScript code is triggered by a specific event on the webpage?