views:

13

answers:

1

I am having trouble setting up VS2010 so I can debug in IIS:

  • I have added some custom URL's to HOSTS
  • I have edited the application properties to use local IIS
  • I have created a virtual directory in IIS

Any good resources fro setting this up?

A: 

Deploy your application to IIS and, when it is running, try to attach to the process from the Visual Studio Debugger (in Debug / Attach to Process). Make sure your web.config have debug mode turned on and the assemblies are compiled with debug symbols.

Nicolas Bottarini