如何在Windows 10的Visual Studio 2012中将Edge添加为调试浏览器?

问题描述:

我昨天将笔记本电脑升级到Windows 10.在Visual Studio 2012中调试代码时,我希望能够使用MS Edge.

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?

您可以将Microsoft Edge添加到浏览器列表中,以直接在Microsoft Edge浏览器中运行.如您所见,单击浏览器切换器,如下图所示,然后单击"浏览方式... ".

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...".

现在点击添加按钮

然后在程序"输入中键入"C:\ WINDOWS \ system32 \ LaunchWinApp.exe",将参数"保留为空白,然后键入适当的友好名称,然后单击确定".

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