默认MVC5应用程序将无法在浏览器VS防爆preSS 2013运行调试模式了 [英] Default MVC5 Application will not run out of debug mode in browser VS Express 2013

查看:408
本文介绍了默认MVC5应用程序将无法在浏览器VS防爆preSS 2013运行调试模式了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始开发使用MVC5的Visual Studio 2013的应用程序。我使用的是默认的MVC应用程序,我不需要做任何改变。我发现,运行的应用程序工作正常,而在但调试模式下,如果我停止调试移F5和页面切换到另一个或刷新我发现到本地主机服务器的连接已断开浏览器我的申请。我得到一个消息,火狐不能建立在本地主机与服务器的连接:我已经测试在Visual Studio 2012开发了另一种应用程序,现在VS2013运行,并且运行正常出调试模式。有其他人遇到这个问题。我在做什么错误?

I have just started to develop an application in Visual Studio 2013 using MVC5. I am using the default MVC application, I have made no changes. I find that running the application works fine while in debug mode however if I Stop Debugging Shift F5 and change from on page to another or refresh my application in the browser I find that the connection to the localhost server is disconnected. I get a message Firefox can't establish a connection to the server at localhost: I have tested another application developed in Visual Studio 2012 and now running on VS2013 and it runs as expected out of debug mode. Has anybody else come across this problem. What am I doing incorrectly?

推荐答案

你有编辑并继续启用? (这可以在你的项目属性中找到 - >网络,在底部

Do you have Edit and Continue enabled? (This can be found under your projects Properties -> Web, at the bottom.

当你编辑并继续启用,VS调试器附着侵入到Web服务器进程(IIS防爆preSS)。当你停止调试程序,这杀死了IIS防爆preSS过程中也是如此。如果E&安培; C。被关闭,调试器不使用侵害性连接,它可以让调试器停而不杀死附着过程

When you have Edit and Continue enabled, the VS debugger attaches invasively to the web server process (IIS Express). When you stop the debugger, this kills the IIS Express process as well. If E&C is turned off, the debugger does not use an invasive attach, which lets the debugger stop without killing the attached process.

这篇关于默认MVC5应用程序将无法在浏览器VS防爆preSS 2013运行调试模式了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆