Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best way to debug Javascript on IE? [closed]

What's the best way to debug Javascript on Internet Explorer?

like image 465
perrohunter Avatar asked Jan 11 '09 22:01

perrohunter


People also ask

Why is JavaScript so hard to debug?

What makes JavaScript great is also what makes it frustrating to debug. Its asynchronous nature makes it easy to manipulate the DOM in response to user events, but it also makes it difficult to locate problems.


1 Answers

Depends on what tools you have available to you.

If you have a copy of Visual Studio, I'd use the Visual Studio debugger. It works pretty well. You'll need to try following the instructions in that link if you don't have a full copy of Visual Studio, otherwise it's built in to the IDE and is pretty simple to use.

Another option is Firebug Lite, which is pretty good for most situations, but you need to add a script reference to every page you want to debug in order for it to work.

like image 143
Dan Herbert Avatar answered Oct 06 '22 02:10

Dan Herbert