In this blog post I'm writing about a few ways to debug and test websites for Internet Explorer (IE).
Windows XP mode
If you have Windows 7 (Professional, Enterprise or Ultimate) installed on your computer you can download Windows XP-mode for free from Microsoft. Windows XP mode is a Virtual machine that lets you run Windows XP on your Windows 7 computer. More information can be found at Microsoft’s Virtual PC site.
The best thing with XP-mode is that it is (at least now) shipped with IE6 as standard web browser. In this way you have the "original" way to test your sites on IE6.
Just don't allow XP-mode to install updates automatically, because it will overwrite IE6 with IE7.
If you want to test your sites on IE7 you can download a standalone version of IE. I prefer Tradesoft’s version which can be downloaded from Tradesoft's home page.
Using IETester
Another way to test different versions of IE is to use IETester. In this program you open tabs for different IE versions (from 5.5 to 8).
Windows 7 is supported in the latest release. In my opinion IETester works quite fine and in most of the cases renders the pages like the real IE-versions.
But once I did find an error in absolutely positioned CSS, so be aware! :)
DebugBar
I also want to give you a tip about DebugBar. It an add-on for IE that allows you to debug the site you are visiting. Just remember to activate the add-on by right clicking on the taskbar, selecting DebugBar and clicking the Activate button.