当我结束调试时,如何防止Visual Studio 2013关闭我的IIS Express应用程序? [英] How can I prevent Visual Studio 2013 from closing my IIS Express app when I end debugging?

查看:166
本文介绍了当我结束调试时,如何防止Visual Studio 2013关闭我的IIS Express应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以前在2012年,如果我在Chrome中进行调试(例如),然后停止调试器,该网站将继续在IIS Express中运行。这不再是2013年的情况。

Previously in 2012, if I debugged in Chrome (for example), and then stopped the debugger, the website would remain running in IIS Express. This no longer seems to be the case in 2013.

这是我需要做的一个新的变化吗?即使停止调试器,我如何保持网站实例的运行?谢谢。

Is this a new change that I need to make? How can I keep the website instance running even after I stop the debugger? Thanks.

推荐答案

关闭新的启用编辑并继续功能可以修复它。

Turning off the new "Enable Edit and Continue" feature fixed it for me.


  1. 打开选项对话框(工具|选项)

  2. 找到Debugging\Edit and Continue

  3. 取消选中启用编辑并继续

更新1

您也可以在每个项目的基础上关闭它。

Update 1:
You can also turn it off on a per project basis.


  1. 打开web项目的属性

  2. 选择Web选项卡

  3. 在调试器部分中取消选中启用编辑并继续

更新2
讨论此功能的博客文章。

Update 2: Blog article that discusses this feature.

启用编辑和继续调试选项现在默认启用VS2013预览中的新Web应用程序

这篇关于当我结束调试时,如何防止Visual Studio 2013关闭我的IIS Express应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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