For Safari you need to enable the “Develop” menu via Preferences (in Safari 3.1; see or via
$ defaults write com.apple.Safari IncludeDebugMenu 1
at the terminal in Mac OS X. Then from the Develop menu choose Show Web Inspector and click on the Console link. Your script can write to the console using window.console.log.
For Internet Explorer, Visual Studio is walks you through installing it and connecting to Internet Explorer.
Internet Explorer 8 llike it will have a very fancy script debugger, so if you’re feeling really adventurous you could install the Internet Explorer 8 beta and give that a whirl.
The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you