I have tools like firebug and web developer to debug the code with firefox browser is any similar tool we can use with google chrome and internet explorer
On Chrome, go to the page menu (the one that looks like a page), then Developer and Developer Tools (Control+Shift+I shortcut)
For IE, download IE8 and that comes with developer tools. (Tools> Developer Tools) or F12.
In Chrome's menu (on a Mac at least):
View > Developer > Developer Tools
There is also Firebug Lite which is nice because it sort of looks and feels like Firebug.
With Internet Explorer you can use Visual Studio to debug code, here some howtos : http://www.google.com/search?q=using+visual+studio+to+debug+javascript+in+internet+explorer
Visual Studio is not so bad for debugging as it open new tabs while entering in "eval" sections, permitting you to view values and add breakpoints inside them.
For IE6 and IE7 you can download the 'Internet Explorer Developer toolbar", which has the same functionality as the developer tools from IE8. It can be downloaded here.
Additionally, to debug IE6, I run XP Mode on Win7. The default installed version of IE6 comes with similar developer tools that are activated via a button in the menu bar.
http://www.microsoft.com/windows/virtual-pc/
精彩评论