我如何调试器附加到IIS,而不是ASP.NET开发服务器? [英] How do I attach the debugger to IIS instead of ASP.NET Development Server?

查看:151
本文介绍了我如何调试器附加到IIS,而不是ASP.NET开发服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET网站,当我preSS F5,它会自动连接到ASP.NET开发服务器,我怎么附加到IIS工作进程,而不是当我preSS F5?

I have an ASP.NET website and when I press F5 it automatically attaches to the ASP.NET Development Server, how do I attach to IIS worker process instead when I press F5?

推荐答案

打开项目属性,转到网络选项卡,选择IIS的选项。

open project properties, go to the web tab and choose the option for IIS.

这是真正开始在IIS中的应用实例,并附加调试器。如果你只是想附加到现有IIS实例,shoose重视从调试菜单处理。

That actually starts an instance of the app in IIS and attaches the debugger. If you only wanted to attach to an existing IIS instance, shoose attach to process from the debug menu.

这篇关于我如何调试器附加到IIS,而不是ASP.NET开发服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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