So I have this web page I need to debug in IE (9). I'd like to use the Developer Tools. I need to create a breakpoint inside code that runs while the page is loading.
The problem is that even if I set a breakpoint, when I reload the page it will be erased, as this is a new context.
If said code only ran after some given action, I could create the breakpoint and only trigger the action afterwards. But it runs while loading, so no luck.
The debugger;
statement could do what I want, but it triggers the VS Debug with... dialog, in which the only option is VS.
Thank you.
I've been doing this for quite a bit, here is the procedure I follow:
debugger;
line wherever you need it to be in your
javascript code.Start
Debugging
button. This will make the Dev tools aware of any
breakpoints you have specified.Good luck!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With