I'm looking for a tool that will enable me to debug JavaScript within IE6. What I mean is that I would like the debugger to run within the browser, a là Firebug.
So far I've tried:
However, I can't figure out how to set breakpoints, step through the code, add watches, etc. using any of them. I've also tried using the MS Visual Web Debugger 2008 Express Edition, but it doesn't run within the browser and lacks features.
If any of the tools above do provide the JS debugging features I'm seeking, any tips on how to use them effectively would be welcome. Alternatively, feel free to recommend other tools.
Update: In addition to suggesting alternative tools, if someone could confirm that none of the tools above do support setting breakpoints and stepping through JS code in IE6, that would be very helpful.
With a debugger, you can also set breakpoints (places where code execution can be stopped), and examine variables while the code is executing. Normally (otherwise follow the steps at the bottom of this page), you activate debugging in your browser with the F12 key, and select "Console" in the debugger menu.
Jonathan Boutelle has a good cheat sheet on getting the Microsoft Script Editor to work for debugging JScript, so if you have Office installed, you might try that.
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