views:

1237

answers:

8

Is there a better way to debug JavaScript than MS Script Editor? Like FireBug, but not like FireBug Lite.

Thanks,

+6  A: 

Use Visual Studio 2008.

The Web Development Helper from Nikhilk is useful as is the Internet Explorer Developer Toolbar (http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en). They are not as good as FireBug though :-(

Maurice
Agreed this is the best way for debugging JS from within IE.
Slace
Using a raw "debugger" statement in your JavaScript will then allow you to break and jump into VS.
James Baker
+1  A: 

I've used IE WebDeveloper. It's not free and not as nice as Firebug, but got the job done for me. http://www.ieinspector.com/dominspector/index.html

Filip Korling
+3  A: 

Though not strictly debuggers, these are useful tools for your arsenal

Paul Dixon
+1  A: 

The only other debugger for Javascript in the IE context is Visual Studio but it'll cost you. What problems are you having with script debugger that leads to think you need a better debugger?

I suspect that what you are after are the additional features that aren't specifically about debugging javascript but analysing the HTML DOM that has been modified by the javascript and the monitoring of the conversation with the server.

The IE developer tool bar I find particularly invaluable for debugging web apps as is fiddler.

AnthonyWJones
A: 

You can download the Microsoft Visual Web Developer 2008 Express Edition for free.

Kevin Hakanson
+1  A: 

I would try and go for DebugBar. It's not as nice as Firebug, but it's very useful for javascript debugging...

m_oLogin
+1  A: 

There is a blog post that goes over most of the known ways to debug javascript in IE, with pros and cons.

mkoryak
+1  A: 

Great article mkoryak

I used visual studio web developer as in this linked article http://www.berniecode.com/blog/2007/03/08/how-to-debug-javascript-with-visual-web-developer-express/

helios456