How to perform Debug after the application deploy开发者_StackOverflow中文版ed in IIS....
To Attach the ASPNet worker process to your VS IDE
For IIS 6.0 and above - attach w3wp.exe
For earlier versions - attach 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.
Make sure you run VS as administrator. Then attach the debugger to the w3wp.exe (there may be more than one). You attach to the w3wp.exe process by choosing "Debug->Attach to process". The shortcut is Alt+d Alt+p.
精彩评论