Visual Studio 2017 无法启动调试适配器“chrome" [英] Visual Studio 2017 Failed to launch debug adapter 'chrome'

查看:63
本文介绍了Visual Studio 2017 无法启动调试适配器“chrome"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 asp.net mvc 5 项目.当我尝试使用启用的脚本调试模式开始调试并使用 Chrome 时,Visual Studio 2017 显示错误:

当我在 Visual Studio 调试选项中设置为 ASP.NET 启用旧版 Chrome JavaScript 调试器"时,它会起作用:

但是如何在不启用旧版 Chrome JavaScript 调试器的情况下解决此问题?

解决方案

我发现在 Visual Studio 中从不使用 JavaScript 调试是最简单的.老实说,

I have a asp.net mvc 5 project. When I try to start debugging with enabled Script debugging mode, and using Chrome, the Visual studio 2017 shows the error:

It works when I set 'Enable legacy Chrome JavaScript debugger for ASP.NET' in Visual Studio debugging options:

But how can I solve this issue without enabling legacy Chrome JavaScript debugger?

解决方案

I've found it's easiest to never use JavaScript debugging in Visual Studio. In my honest opinion, the Chrome JavaScript debugger is a much better alternative for debugging.

To turn off debugging and fix the error in VS2019, go to Tools > Options > Debugging > General. Uncheck the following option:

这篇关于Visual Studio 2017 无法启动调试适配器“chrome"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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