I want to be able to inspect/understand and eventually alter javascript code that is running in opened webpages.
Do you know how can I see which js methods are currently running while the webpage is opened and inspect their variables?
I'm using Chrome, but I can switch to any other browser or tool that is closer to my goal.
I tried to use Chrome's Inspect, but I didn't find a section where it would display what is javascript doing in that exact moment.
Here is how you can inspect the exact javascript that is being executed:
Steps:
(Ctrl + Shift + I)Also, you can add breakpoints by clicking on the line number in the source code panel. When the execution of the code reaches a breakpoint, it pauses, allowing you to inspect the variables and step through the code.