Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot disable Javascript Debugging in Visual Studio 2013?

I am building an ASP.NET Web Forms application (not site) and whenever I debug with Internet Explorer, I cannot seem to disable the integrated Javascript debugging with Visual Studio 2013 Pro.

How do I get it to stop breaking on Javascript exceptions?

My OS is Windows 2012 Server R2 (so, equivalent to Windows 8.1 Pro) with IE11. I have tried every setting that I could find but nothing has worked so far. I have even logged out and back in. I am going to try a complete reboot right now.

The screenshots below show all the settings I've tried.

Exception and Settings:

Exception Occurrence and Settings


Visual Studio Options - Debugging:

Visual Studio Debugging Options


Internet Explorer Options:

Internet Explorer Options


BrowserLink Disabled

BrowserLink Options


like image 342
Wayne Bloss Avatar asked Aug 27 '14 20:08

Wayne Bloss


People also ask

How do I disable JavaScript Debugging in Visual Studio?

You can go to Tools > Options > Debugging > General > and then in the right part almost like in the middle of the scroll you'll find the option to enable or disable JavaScript debugging.

How do I stop dynamic Debugging in Visual Studio?

Tools > Options > Debugging > Just-In-Time > Uncheck Script Option.

Why does JIT Debugging keep popping up?

Causes: Just-In-Time debugging is a feature that launches the Visual Studio debugger automatically when a program, running outside Visual Studio, encounters a fatal error. Just-In-Time debugging allows you to examine the error before the application is terminated by the operating system.

How do I get rid of JIT Debugging?

In Windows Control Panel > Network and Internet > Internet Options, select Disable script debugging (Internet Explorer) and Disable script debugging (other).


1 Answers

If you run your web project with IE, VS will automatically attach to the IE process and debug it and there is no way to disable that.

So, start debugging with Chrome or Firefox if you don't want VS to debug IE automatically when you run your project. Then open up IE and navigate to your site if you still need to test with IE.

like image 68
Wayne Bloss Avatar answered Sep 22 '22 19:09

Wayne Bloss