How do I attach the debugger to IIS instead of ASP.NET Development Server?

前端 未结 5 1678
[愿得一人]
[愿得一人] 2020-11-30 22:45

I have an ASP.NET website and when I press F5 it automatically attaches to the ASP.NET Development Server, how do I attach to IIS worker process instead when I press F5?

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 23:24

    go to the properties of the web application. Select the "Start Options" section, and change from "USe default web server" to "use custom server". Enter "http://localhost" in the base url.

    (assumes VS 2008)

提交回复
热议问题