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

查看:30
本文介绍了当我结束调试时,如何防止 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. 找到调试编辑并继续"
  3. 取消选中启用编辑并继续"

更新 1:
您也可以针对每个项目将其关闭.

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

  1. 打开网络项目的属性
  2. 选择网络标签
  3. 在调试器"部分取消选中启用编辑并继续"

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

Update 2: Blog article that discusses this feature.

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

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

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