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.
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.