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.
Select Stop debugging from Debug menu to end a debugging session. You also can stop debugging from the processes window. In that window, right-click the executing process and select the Detach Process or Terminate Process command.
On the Internet Explorer Tools menu, choose Internet Options. In the Internet Options dialog box, click the Advanced tab. On the Advanced tab, look in the Settings box, Browsing category. Clear Disable Script Debugging (Internet Explorer).
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.
Just go to Debug->Options & Settings and select Just-In-Time and Uncheck Script from Types of Code to enable debugging.
This will disable script debugging.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With