MikeJ
MikeJ

Reputation: 14565

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?

Upvotes: 9

Views: 10164

Answers (5)

John81
John81

Reputation: 4084

This worked fine but I had a problem getting Edge to browse my localhost where I do my web site development. Turns out Edge is locked down by default to not allow browsing to localhost.

To fix this, fire up Fiddler (or install it then fire it up), the click on the WinConfig button in the main toolbar of Fiddler. You'll see the AppContainer Loopback Exemption Utility. Find Microsoft Edge in the list, click the check box next to it, and click Save.

Like magic Edge should now load your site on localhost.

Upvotes: 0

Flávio Etrusco
Flávio Etrusco

Reputation: 162

Configure the browser in the Browse With dialog with: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe".

Source: https://superuser.com/questions/1338811/how-to-start-edge-by-calling-c-windows-systemapps-microsoft-microsoftedge-8weky

Upvotes: 0

Nikhil M S
Nikhil M S

Reputation: 29

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

Upvotes: 2

Haresh Ambaliya
Haresh Ambaliya

Reputation: 711

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

Upvotes: 15

Mark Cooper
Mark Cooper

Reputation: 6894

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.

Upvotes: 2

Related Questions