When it comes to debugging in IE (if IE is your target browser, you have to be able to test in it), choices are more limited. There used to be one from Microsoft, and there are some 3rd party tools for it too.
But sometimes simple is good enough. This script is for those who want a better alternative for clicking away repetitive alerts (a lot of us still debug in this way, like it or not).
I got it from a collegue who got it somewhere from the web, but I tweaked the UI a bit.
How to use?
- Download the IE debug script by rightclicking and saving it.
- Add a link to iedebug.js in the header of your webpages.
- Write to the debug console window by adding this line to your code:
This is a little demonstration:
Oh, and it works in Firefox too. Just in case you believe 6 950 000 results can be wrong.