Currently, I am deeply involved in a project at my workplace where I am tasked with fixing tickets and debugging issues. I have reached a point where I need to understand what values the Javascript code is returning.
Here's the problem I am facing:
The Javascript code is embedded within the jsp file that is being displayed, meaning it is not in a separate file. As a result, Chrome's Dev Tool is unable to display it and does not allow me to set breakpoints in the jsp file on the page itself. I am looking to inspect the values and ensure everything is functioning correctly within the local scope. Since I did not write the code, I am hoping to make minimal modifications to it.
Now, my question is whether there is a way, besides refactoring and moving the Javascript to a separate file, to monitor its execution. I might be missing some features within Chrome's Dev Tool as I am not well-versed in all of its functionalities.
Thank you for your assistance in advance! If anything is unclear, please let me know so I can clarify it.