无法在 Visual Studio 2017 中调试 [英] Cannot debug in visual studio 2017

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

问题描述

我无法在 Visual Studio 2017 中启动调试器.我收到此错误

I cannot start the debugger in Visual Studio 2017. I get this error

无法连接到运行时进程,10000 毫秒后超时 - (原因:无法连接到目标:connect ECONNREFUSED 127.0.0.1:1904)"

"Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:1904)"

我去向 Microsoft 提交了一个事件,但他们希望得到 499 美元.不明白为什么我要在他们的软件坏了的时候付费!

I went to submit an incident to Microsoft but they want $499 for the pleasure. Don't see why I should have to pay when their software is broken!

推荐答案

我在启用以下选项的情况下成功使用它.

I'm using it successfully with the following options enabled.

在 Visual Studio 中转到:工具 -> 选项 -> 调试 -> 常规

In Visual Studio go to: Tools -> Options -> Debugging -> General

  • 为 Asp.Net(Chrome、Edge 和 IE)启用 JavaScript 调试
  • 为 ASP.NET 启用旧版 Chrome JavaScript 调试器

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

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