How to debug asp.net website code hosted on IIS?

2019-02-20 20:48发布

问题:

I am getting some issues/bugs in my code. I need to debug the code from my visual studio, but code is deployed on IIS.

Can you please provide some solution so that I can debug the code and find the error

I am using Windows XP.

回答1:

you can refer below link.

This link contains what you need...

http://www.codeproject.com/Articles/37182/Debug-your-ASP-NET-Application-while-Hosted-on-IIS



回答2:

If you need to debug a remote server, then you should refer to the following link:

Remote IIS Debugging : Debug your ASP.NET Application which is hosted on "Remote IIS Server"

(interestingly enough, by the same author as the link provided by @Gaurav123)

EDIT: This is a rather complicated process, that is why people are posting links rather than giving you a full answer.