Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stopping debugging doesn't actually stop the site application

When stopping the debug session the application is still running and I can access it from http://localhost:3825/ the only way to stop the application is to close the solution from visual studio

What I want

to stop the application(shut down the application and close http://localhost:3825/) ... So I can test error handling from angular(fronted).

Expected behavior

When I click stop debug (using IIS Express) the application would stop (shutdown)

Environment

I just start visual studio and open solution and click IIS Express with all the default setting, I didn't change anything

My tries

  • Tried to use the program rather than ISS Express,still the program is still alive
  • Tried to start without debug CTRL + F5 , this build the application in the background and doesn't show any way to shut it, but to close the solution.

If anyone have an idea of what is that behavior coming from please explain it to me.

like image 561
Mosta Avatar asked May 17 '26 01:05

Mosta


1 Answers

Right click on the IIS Express icon in the taskbar and close the application from there.

OR

Take a look at this question, OP has the same problem that you are facing except it is the inverse.

Right click -> Properties -> Web tab -> Check "Enable Edit and Continue" should do the trick for you.

Another way to go could be : Tools -> Options -> Debugging -> General -> Check "Enable and Continue".

like image 68
Antoine Thiry Avatar answered May 19 '26 15:05

Antoine Thiry



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!