IIS Express Immediately shutting-down running site after stopping web application

前端 未结 5 1646
余生分开走
余生分开走 2020-11-29 18:10

I\'m using visual studio 2012 in the first days when I want to stop application in IDE, application was still running on IIS Express, I could browse and work with running ap

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 18:20

    Instead of hitting the (X) STOP button, you can use the Detach all menu item in the Debug menu. The major difference is that the stop button will terminate any process that is currently being debugged, while Detach All will disconnect the debugger from the processes, but will not terminate them.

    The normal IIS worker process would also be terminated, but since it used to be running as a service, it will also automatically start up again and thus you could continue to use it without having to restart the process through |> Debug or |> Start without debugging.

    Screenshot for Reference

    Adding 'Edit and Continue' button to debugging toolbar.

提交回复
热议问题