Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I debug JavaScript in Visual Studio 2005?

I just saw this mentioned in Stack Overflow question Best WYSIWYG CSS editor and didn't know it could be done. I'm a Visual Studio newbie, so how do you do it?

Is there a separate debugger for JavaScript? I know how to work the one for code-behind pages... I usually use Firebug to deal with debugging JavaScript code.

I'm using Visual Studio 2005.

like image 547
Bryan Denny Avatar asked Aug 12 '08 01:08

Bryan Denny


People also ask

How do I debug in Visual Studio 2005?

If you are inside of Visual Studio with an open project, you can use the Debug menu to get started. The “Start” and “Step Into” commands will both launch your application and begin a debugging session. A second option is to use the “Attach to Process…” command on the Debug menu.

Is there a debugger for JavaScript?

But fortunately, all modern browsers have a built-in JavaScript debugger. Built-in debuggers can be turned on and off, forcing errors to be reported to the user. With a debugger, you can also set breakpoints (places where code execution can be stopped), and examine variables while the code is executing.


Video Answer


1 Answers

I prefer using Firebug for projects I can't use Visual Studio 2008 on.

like image 52
brendan Avatar answered Sep 20 '22 17:09

brendan