title: Set the Visual Studio local IIS 7 debug Virtual Path to /
body: <p>In visual studio 2008 or 2010, the option to debug in a local IIS is available on the Web tab of a web application project. I can choose this type of debugging and put in the URL of a local site (eg. <a href="http://localhost:1234/MyAppName" rel="nofollow">http://localhost:1234/MyAppName</a>) and have the debugger start up and be happy as a clam.</p>
  
  <p>My question is, is there ANY way to have it let me just use <a href="http://localhost:1234" rel="nofollow">http://localhost:1234</a> instead of using a subdirectory (virtual directory) path that is not /</p>
  
  <p>I would really prefer to use the IIS debugging to be more sure we are developing in an environment closer to what we host on, but the routing rules we have rely on the fact that the pages being requested are from / and not /MyAppName.</p>