I'm working on a project at work fixing tickets and debugging and such. And I came to a point where I need to see what the Javascript is returning and what values it gets.
The problem is as follows:
This Javascript is in the jsp file which is being shown, so its not in a separate file. Because of this Chromes Dev Tool does not show it. And it does not let me put a breakpoint in the jsp file. In the page it self. So that I may check the values and to see if everything is okey in the local scope. The code is not mine, so id like to make the least amount of changes to it as possible.
Now the question is, is there anyway other than refactoring and putting the Javascript in another file, to see whats happening while its being run. Or maybe im just missing some kind of feature that Chromes Dev tool has. Im not that experienced with all of its features to be totally honest.
Thank you in advance! And I'm sorry if something is not clear. I will edit it to make things clearer. If that is the case.