开发者

When I click the "stop" debugger button, the developer web server also stops!

开发者 https://www.devze.com 2022-12-16 03:48 出处:网络
Does this happen to any one of you?It is driving me crazy: On every other machine I develop on, when I click the \"stop\" button for the debugger in Visual Studio, the Developer Web Server continues

Does this happen to any one of you? It is driving me crazy:

On every other machine I develop on, when I click the "stop" button for the debugger in Visual Studio, the Developer Web Server continues to run. And I can still browse 开发者_如何学Gomy web application.

Suddenly one day, on one of the machines I use for development, it no longer behaves this way. Now when I click stop, the Developer Web Server also stops.

Does anyone know what causes this? Did i accidentally flip some setting I don't know about?


One alternative is to configure your local site to use IIS; that would allow you to easily switch between using the debugger and not using it.


The best way around this is to run without debugging (CTRL + F5). This leaves the web server up and running. If you hit debug after that it will do the debugging bit on a separete instance of the web server, leaving the original instance up and running too.

See this similar question on SO


This solutions was helped for me

http://www.itorian.com/2013/10/iis-express-immediately-shutting-down.html

You need:

  1. Go to "Options" (Service/Options)

  2. Find "Debugging" options and select "Edit and Continue"

  3. Uncheck "Enable Edit and Continue" checkbox

Hope it will useful

0

精彩评论

暂无评论...
验证码 换一张
取 消