mecabpazzo95
mecabpazzo95

Reputation: 39

How to solve the problem of debugging with in IIS

Hello i have a problem of debugging in VS with iis that is :

enter image description here

so what i should do always is :

enter image description here

and here there is the pool of application in IIS :

enter image description here

How can i resolve this problem ?

Upvotes: 0

Views: 112

Answers (1)

ΩmegaMan
ΩmegaMan

Reputation: 31721

Two options

  1. In Visual Studio attach a debug built project via Debug -> Attach To Process and filter/select w3wp.exe. If you have multiple sites/services running its best to put different sites/services on different app pools. That way you can identify which one to attach to. Below my service I attach to is on App Pool 8.

enter image description here

  1. F5 debug the site/service. You may need to change some web.config values like such as allowunlisted if dealing with restful web services. Also setting the debug in compilation is helpful <compilation targetFramework="4.5.2" debug="true"/> as an example.

Upvotes: 2

Related Questions