调试时在现有 Chrome 实例的新标签页中打开站点 [英] Open site in new tab of existing Chrome instance when debugging

查看:10
本文介绍了调试时在现有 Chrome 实例的新标签页中打开站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Visual Studio 中调试 Web 应用程序时,是否可以在单击在 Chrome 中启动"按钮

自 Visual Studio 15.7.0

您还需要取消选中选项:

<块引用>

工具 > 选项 > 项目和解决方案 > Web 项目 > 当浏览器窗口关闭时停止调试器

When debugging a web application in Visual Studio is it possible to get it to launch in an existing tab of an existing instance of Chrome rather than in a new window when clicking the Launch in Chrome button ?

解决方案

On the Menu bar of Visual Studio, go to

Tools > Options

After that, a window will pop up.

From there, navigate to

Debugging > General > uncheck Enable Javascript Debugging for ASP.NET (Chrome and IE)

Since Visual Studio 15.7.0

You also need to uncheck option:

Tools > Options > Projects And Solutions > Web Projects > Stop debugger when browser window is closed

这篇关于调试时在现有 Chrome 实例的新标签页中打开站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆