admin 管理员组

文章数量: 1086019

I'm fairly inexperienced with JavaScript and jQuery, but I need both for the ASP.Net website I'm working on. I am slowly figuring it out, but I've been relying heavily on StackOverFlow.

Does anyone know of any tool (preferably free) that makes debugging JavaScript and jQuery easier? I've been using Firebug which has been helpful, but I guess I'm just spoiled by Visual Studio's debugger and intellisense. Is there anything like that for JavaScript and jQuery? It would sure make my life easier if there were.

What do you use? Any remendations?

I'm fairly inexperienced with JavaScript and jQuery, but I need both for the ASP.Net website I'm working on. I am slowly figuring it out, but I've been relying heavily on StackOverFlow.

Does anyone know of any tool (preferably free) that makes debugging JavaScript and jQuery easier? I've been using Firebug which has been helpful, but I guess I'm just spoiled by Visual Studio's debugger and intellisense. Is there anything like that for JavaScript and jQuery? It would sure make my life easier if there were.

What do you use? Any remendations?

Share Improve this question asked Nov 11, 2010 at 1:55 ks78ks78 9272 gold badges17 silver badges34 bronze badges 4
  • Are you using the Firebug script debugger? If so, how is it not working for you? – John Sheehan Commented Nov 11, 2010 at 1:58
  • 1 for IE it is IE developer toolbar and for chrome it has Chrome Developer toolbar – kobe Commented Nov 11, 2010 at 2:00
  • The Firebug plugin for Firefox works, I'd just like to know what else is out there and what other people use. – ks78 Commented Nov 11, 2010 at 2:41
  • google for videos firebug , there are couple of them and they will show you how to debug, it has beutiful net panel which shows all http request etc. Firebug is really wonderful tool – kobe Commented Nov 11, 2010 at 4:11
Add a ment  | 

7 Answers 7

Reset to default 5

Of course, use the Firebug plugin for Firefox

I don't like anything Microsoft, but last time I looked at Visual Studio it was providing IntelliSense for Javascript. You may be interested in this article.

You say you're already using Firebug, which is a good start. I'd remend also debugging in a webkit browser, such as Safari or Google Chrome. Both options have a developer console built in and it behaves much like Firebug. The beauty of jQuery is it does the dirty work of browser DOM inconsistencies between browsers, so if you have pure jQuery working in one browser, it will more than likely work in IE as well. I always make my program work in a standards pliant browser first, and then worry about IE.

IE8 also has developer tools/console or whatever they call it.

My ment can be answer

for IE it is IE developer toolbar and for chrome it has Chrome Developer toolbar. You can even use Fiddler for IE which tells about ajax calls.

Please let me know if you need any other info

In addition to Firebug, using JSLint will check and help you write good JS code.

  • Firebug (Firefox). The awesome thing about FireBug is that you can use CSS selectors directly in the console (see here) to test some of your jQuery selectors. You can also find lots of logging functions to use with FireBug (check out the console API)
  • Firebug Lite (Not as powerful as the full-featured FireBug, but great in a pinch)
  • Chrome Developer tools (Chrome; Safari has nearly identical tools)
  • IE Developer Tools when you must open IE.
  • window.alert
  • JSFiddle, which is useful for quickly coding and testing JS.

Netbeans has a pretty stupendous system from what I've seen.

I like the Web Developer addon for Firefox and other browsers. It's got an error console which is pretty handy.

本文标签: aspnetIs there a tool out there that makes debugging JavaScript and jQuery easierStack Overflow