当在主机文件中使用URL指向Local主机不起作用时,在IDE中调试了Blazor WASM
我正在Localhost上运行我的Blazor应用程序,可以通过主机文件中的URL浏览它,该文件设置为重定向到Localhost。
直接通过Localhost URL浏览应用程序时,我可以从IDE(Rider)中成功调试。但是,如果我浏览主机文件中的URL,我的IDE中的断点都不会受到打击。
有谁知道您是否可以这种方式调试大火?
I am running my blazor app on localhost, I can browse to it via a url in my hosts file which is set to redirect to localhost.
When browsing to the app directly through the localhost url I can successfully debug from my IDE (Rider). However if I browse to the url in my hosts file none of my breakpoints in the IDE get hit.
Does anyone know if you can debug blazor wasm this way?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现这个github问题,听起来对您所遇到的东西很熟悉。因此,我会说您没有做错任何事,这可能是一个错误。
I found this GitHub issue, which sounds very familiar to what you're encountering. Therefore I'd say you're doing nothing wrong, and it's probably a bug.