Is there a better way to debug JavaScript than MS Script Editor? I am searching for something like Firebug. Firebug Lite doesn't offer this functionality, though.
-
Is it better javascript tools you need or is more about extra features like DOM inspector? – AnthonyWJones Oct 04 '08 at 12:59
9 Answers
Use Visual Studio 2008.
The Web Development Helper from Nikhilk is useful as is the Internet Explorer Developer Toolbar (http://www.microsoft.com/en-us/download/details.aspx?id=18359). They are not as good as FireBug though :-(

- 27,582
- 5
- 49
- 62
-
-
Using a raw "debugger" statement in your JavaScript will then allow you to break and jump into VS. – James Baker Oct 04 '08 at 18:32
Though not strictly debuggers, these are useful tools for your arsenal

- 295,876
- 54
- 310
- 348
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

- 615
- 3
- 7
The only other debugger for JavaScript in the IE context is Visual Studio, but it'll cost you. What problems are you having with the 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 toolbar I find particularly invaluable for debugging web apps as is Fiddler.

- 18,808
- 10
- 90
- 132

- 187,081
- 35
- 232
- 306
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/

- 1,624
- 16
- 24
You can download the Microsoft Visual Web Developer 2008 Express Edition for free.

- 41,386
- 23
- 126
- 155
In newer versions of Internet Explorer (10.0+ I guess) the developer tools are integrated.
The debugger panel there allows you to debug your JavaScript like in Firebug, the Firefox DevTools or the Chrome DevTools.

- 18,808
- 10
- 90
- 132