问题描述
限时送ChatGPT账号..我刚开始使用 Visual Studio,发现调试 Web 应用程序相当烦人.进行更改并单击 f5 后,它会将您发送到 localhost:port/
但是很多次您不是在编辑 localhost:port/
而是在编辑 localhost:port/someOtherFile
,所以你可以看到这很烦人.
I just starting working with Visual Studio and I find that debugging web apps is rather annoying. After making a change and clicking f5 it sends you to localhost:port/
however many times you are not editing localhost:port/
but you are editing localhost:port/someOtherFile
, so you can see how this can be pretty annoying.
我希望有一种方法可以优化这一点.理想情况下,我希望能够点击 f5 并让它刷新浏览器中具有 localhost:port/whatever/youGetThePoint
的任何选项卡如果这是可能的,它会进行一些非常好的调试,因为很多次您甚至不必点击浏览器.
I am hoping that there is a way to optimize this. Ideally I would want to be able to hit f5 and have it just refresh whatever tab in my browser has localhost:port/whatever/youGetThePoint
If this is possible it would make for some really nice debugging because many times you would never even have to click the browser.
另外,为什么我们必须按 shift+f5 才能停止调试.为什么不只是 f5...
Also, why do we have to hit shift+f5 to stop debugging. Why not just f5...
我正在使用 MVC2
推荐答案
在解决方案管理器中点击您的应用查看 -> 属性页选择左侧的Web"标签将开始操作"设置为特定页面.这篇关于在 Visual Studio 2010 中调试 Web 应用程序很烦人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论