无法在 Visual Studio 2017 中调试

无法在 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 调试器