Search code examples
asp.netdebuggingvisual-studio-2012visual-studio-debuggingvisual-studio-express

Visual Studio 2012 Express: How to Debug with Custom Webserver


I have IIS 7 installed on my machine. With Visual Studio 2010 Professional I can attach to the IIS process and debug correctly.

I noticed that Visual Studio 2012 Express does not appear have that option. However it does have the option for a custom web server to be used during debugging. It only asks for the Base URL which I assume would be http://localhost/. However I get the following error when I try to debug with that setting:

"The web server is not configured correctly." 

Thank you for your help!

enter image description here


Solution

  • That's not a custom web server. That's a custom web URL. That allows you to specify the URL to use when you execute the debugger. That doesn't mean the debugger will use that process.

    VS Express doesn't allow attaching to other process, as far as I know. You would have to buy the Standard version, or you could try one of the free development environments like SharpDevelop.