Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add Edge as my debug browser in Visual Studio 2012 on Windows 10?

I upgraded my laptop to Windows 10 yesterday. I want to be able to use MS Edge when I debug my code in Visual Studio 2012.

I can't find the browser executable nor do I know if I need any special command line parameters necessary to make it work right.

Any hints or tips on this?

like image 629
MikeJ Avatar asked Aug 03 '15 18:08

MikeJ


3 Answers

You can add Microsoft Edge to your browser list to run directly into Microsoft Edge browser. As you can see click on browser switcher as in below image and click on "Browse With...".

Browser Switcher

Now click on Add button

Add New Browser

and type "C:\WINDOWS\system32\LaunchWinApp.exe" into Program input, leave Argument as blank and type appropriate friendly name and hit Okay.

Microsoft Edge Browser Settings

like image 167
Haresh Ambaliya Avatar answered Oct 07 '22 15:10

Haresh Ambaliya


I can't help with the location for the Edge executable, nor with command lines execution, but here is a work-around to get you started;

Hit F5 to start your application in your default browser, then copy+paste the respective URL from your default browser into Edge.

The requests that you submit from Edge to your URL are still processed by your development "server" - this is where your debugger will be attached, so your server-side breakpoints will still get triggered.

This will work for IIS and IIS Express.

like image 31
Mark Cooper Avatar answered Oct 07 '22 16:10

Mark Cooper


C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe

is the location of microsoft Edge.

You can get this location from Task manager->Microsoft Edge> Properties

like image 2
Nikhil M S Avatar answered Oct 07 '22 15:10

Nikhil M S