[英]Unable to start debugging on the web server. The Visual Studio 2019 Remote Debugger (MSVSMON.EXE) does not appear
I am using Microsoft Visual Studio Enterprise 2019 Preview on Windows 10 pro.我在 Windows 10 专业版上使用 Microsoft Visual Studio Enterprise 2019 预览版。 My project (source code) is https://github.com/smartstoreag/SmartStoreNET/tree/3.x/src .我的项目(源代码)是https://github.com/smartstoreag/SmartStoreNET/tree/3.x/src 。 I press F5 to see result, but I catch error我按F5查看结果,但我发现错误
Unable to start debugging on the web server.无法在 Web 服务器上开始调试。 The Visual Studio 2019 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer. Visual Studio 2019 远程调试器 (MSVSMON.EXE) 似乎未在远程计算机上运行。 This may be because a firewall is preventing communication to the remote computer.这可能是因为防火墙阻止了与远程计算机的通信。 Please see Help for assistance on configuring remote debugging.请参阅帮助以获取有关配置远程调试的帮助。
How to fix it?如何解决?
You may need to set up the website in IIS, and possibly add an entry to C:\\Windows\\System32\\drivers\\etc\\hosts
.您可能需要在 IIS 中设置网站,并可能在C:\\Windows\\System32\\drivers\\etc\\hosts
添加一个条目。
Check the project properties to see what URL needs to be set up.检查项目属性以查看需要设置的 URL。
Alternatively, you could try running in IIS Express instead of IIS.或者,您可以尝试在 IIS Express 而不是 IIS 中运行。
In my case the related site(s) in IIS tied to my solution were "stopped" in IIS.在我的情况下,IIS 中与我的解决方案相关的相关站点在 IIS 中“停止”。 Once I went into IIS and "started" them, this debug error went away.一旦我进入 IIS 并“启动”它们,这个调试错误就消失了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.