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

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

问题描述

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

解决方案

打开项目属性,转到Web选项卡并选择IIS的选项。



应用程序在IIS中的实例,并附加调试器。如果您只想附加到现有的IIS实例,请从调试菜单中选择附加到进程。


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?

解决方案

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

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, choose attach to process from the debug menu.

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

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