调试w/附加到进程启动ASP。网络开发服务器

时间:2021-04-20 01:45:52

I'm developing an ASP.NET site off of my Windows XP IIS Installation, and whenever I tell visual studio to attach-to-process to the aspnet_wp.exe it starts a new instance of asp.net development server. Is there a way to make it not start asp.net development server since I don't need it to launch anything?

我开发一个ASP。在我的Windows XP IIS安装的网站上,每当我告诉visual studio对aspnet_wp的连接过程。exe启动一个asp.net开发服务器的新实例。有没有办法让它不启动asp.net开发服务器,因为我不需要它启动任何东西?

3 个解决方案

#1


21  

If you want to turn that off all you have to do is change the settings on the project file (using f4 to show the property grid). There is an option that says Always Start When Debugging, set that to false and you should be fine.

如果您想关闭它,您只需更改项目文件的设置(使用f4显示属性网格)。有一个选项说,总是在调试时启动,将其设置为false,您应该没问题。

#2


3  

If you right-click the web project and select Properties, there is a Web tab. On there you can select the Server to use when debugging, by default it is set to the Visual Studio Development Server. You probably want to use the Local IIS Web Server instead.

如果右键单击web项目并选择Properties,就会有一个web选项卡。在这里,您可以选择在调试时使用的服务器,默认情况下,它被设置为Visual Studio开发服务器。您可能想要使用本地的IIS Web服务器。

#3


0  

If you want to attach to the IIS worker process then you need to attach to w3wp.exe.

如果您想要附加到IIS工作进程,那么您需要附加到w3wp.exe。

#1


21  

If you want to turn that off all you have to do is change the settings on the project file (using f4 to show the property grid). There is an option that says Always Start When Debugging, set that to false and you should be fine.

如果您想关闭它,您只需更改项目文件的设置(使用f4显示属性网格)。有一个选项说,总是在调试时启动,将其设置为false,您应该没问题。

#2


3  

If you right-click the web project and select Properties, there is a Web tab. On there you can select the Server to use when debugging, by default it is set to the Visual Studio Development Server. You probably want to use the Local IIS Web Server instead.

如果右键单击web项目并选择Properties,就会有一个web选项卡。在这里,您可以选择在调试时使用的服务器,默认情况下,它被设置为Visual Studio开发服务器。您可能想要使用本地的IIS Web服务器。

#3


0  

If you want to attach to the IIS worker process then you need to attach to w3wp.exe.

如果您想要附加到IIS工作进程,那么您需要附加到w3wp.exe。