简体   繁体   English

调试在IIS中部署的应用程序

[英]To Debug the Application that deployed in IIS

如何在IIS中部署应用程序后执行调试....

To Attach the ASPNet worker process to your VS IDE 将ASPNet工作进程附加到VS IDE

For IIS 6.0 and above - attach w3wp.exe 对于IIS 6.0及更高版本 - 附加w3wp.exe

For earlier versions - attach aspnet_wp.exe 对于早期版本 - 附加aspnet_wp.exe

You may also have to install the remote debugger on the target server if it is not the same machine the debugger is installed on. 如果远程调试器不是安装调试器的同一台机器,则可能还必须在目标服务器上安装远程调试器。 It can be found on the Visual Studio installation disk. 它可以在Visual Studio安装盘上找到。

Make sure you run VS as administrator. 确保以管理员身份运行VS. Then attach the debugger to the w3wp.exe (there may be more than one). 然后将调试器附加到w3wp.exe(可能有多个)。 You attach to the w3wp.exe process by choosing "Debug->Attach to process". 通过选择“Debug-> Attach to process”附加到w3wp.exe进程。 The shortcut is Alt+d Alt+p. 快捷键是Alt + d Alt + p。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM