Attach Debugger to IIS instance

前端 未结 7 1158
感动是毒
感动是毒 2020-12-02 16:24

I have IIS 5.1 on a XP machine, and visual studio 2005. How do I go about attaching my debugger to IIS instance.

BTW: I\'m not seeing the IIS process within the runn

7条回答
  •  感动是毒
    2020-12-02 16:47

    Just to clarify Jimmie R. Houts answer…

    If you want to debug the web application VS and IIS you can do the following:

    1. Host the site inside IIS (virtual directory etc).
    2. Then in VS2005 do this:

      • Right Click on Web Project → Properties → Start options → Use Custom Server → Base URL → Enter Site Address as Hosted in IIS.
      • Hit F5 and you will be able to Debug your code

    Same works for VS 2008 also.

提交回复
热议问题