当在主机文件中使用URL指向Local主机不起作用时,在IDE中调试了Blazor WASM

发布于 2025-02-11 19:39:41 字数 186 浏览 3 评论 0原文

我正在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

静谧幽蓝 2025-02-18 19:39:41

我发现这个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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文