Disabling built-in chrome in Visual Studio 2017 from starting when debugging

VisualStudio and Chrome

With the release of Visual Studio there is a new feature for debugging in JavaScript, which is great, but unfortunately this has a side effect. When you start your debugging, Visual Studio launches a new instance of chrome that is unrelated to your normal chrome instance. For me this is quite annoying, especially since I don't need to debug any JavaScript applications. Luckily this can be turned of easily by just changing one simple setting.

First, go into the menu options under Tools -> Options

Menu options

Then go down to the Debugging -> General option in the menu on the left side. Scroll down about half way in the settings view and uncheck the option Enable JavaScript debugging for ASP.NET (Chrome and IE).

Disable JavaScript debugging in options

Now your default browser should launch instead of the built-in version. If you need to debug JavaScript again, just check the setting again and you should be back to running the built-in browser and debugging again.

Share post
About Johan Boström

I'm a system architect, developer and solution expert, with experience in web-, application-, server- and windows service development with main focus on .NET / C#. Special skills with many kinds of CMS-tools, like EPiServer, Umbraco and Litium Studio.