Alex Rivera | Logout

How to disable script debugging in Visual Studio 2010 when running Asp.Net website project?

Asked 2011-04-01T10:39:10.573
17

I'm creating a website in Visual Studio 2010. I would like to use Visual Studio for C# debugging, without using it as JavaScript debugger. Is there a way to disable script debugging for Asp.Net website projects? I run my projects by hitting F5 in my Visual Studio.

(I've noticed that when I attach the debugger manually, I can specify the type of stuff I would like to debug.)

Note: I would like to debug JavaScript, but not with Visual Studio 2010. The Developer Toolbar will suffice.

Edit
Report

1 Answer

14

See this article on Connect, and the other article it links to.

To summarise, it's a workaround. Apparently VS can't attach the debugger to both Silverlight and script so if you turn on Silverlight debugging, it has to disable script debugging! To access these settings, go to Start Options which is within the web site Property Pages.

answered 2011-04-01T10:50:19.640

Your Answer