google-chrome - 调试时在现有 Chrome 实例的新选项卡中打开网站

标签 google-chrome visual-studio-2017

在 Visual Studio 中调试 Web 应用程序时,单击“在 Chrome 中启动”按钮 launch in Chrome 时,是否可以使其在现有 Chrome 实例的现有选项卡中启动,而不是在新窗口中启动。 ?

最佳答案

在 Visual Studio 的菜单栏上,转到

Tools > Options

之后,会弹出一个窗口。

从那里导航至

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

launch in Chrome

自 Visual Studio 15.7.0 起

您还需要取消选中选项:

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

关于google-chrome - 调试时在现有 Chrome 实例的新选项卡中打开网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42673989/

相关文章:

javascript - 有没有办法记录在 javascript 中创建了多少个实例?

mstest - 在VS2017中加载VS2015解决方案,找不到编码的UI测试引用

c# - VS2017 不显示建议并且无法导航到插入符号下的符号

c# - 如何在 Build 上运行 TextTemplatingFileGenerator (VS 2017)

c++ - 以基类为模板参数继承基构造函数(MSVC)

google-chrome - Chrome 应用模式下的工具栏

javascript - 我怎样才能去掉 <nav> 中 <ul> 的点

TFS 策略 - 当代码不符合自定义准则时阻止 checkin

android - android html5 视频的 chrome 黑屏

asp.net - Web 浏览器进入信息亭模式