Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stopping debugging stops the site (even with edit and continue off) in vs 2015 U2

I recently installed VS 2015 Update 2.

In update 1 when i stop debugging a site running in IISExpress it does not stop the site.

There are a bunch of posts about enabling this behavior by turning off edit and continue.

  • IIS Express Immediately shutting-down running site after stopping web application
  • How can I prevent Visual Studio 2013 from closing my IIS Express app when I end debugging?
  • Visual studio debugger, dont stop website on stop debugging

Disabling edit and continue in update 2 no longer seems to provide this behavior, is there another work around to keep the site running when the debugger stops?

like image 423
Not loved Avatar asked Apr 13 '16 21:04

Not loved


People also ask

How do I stop debugging in Visual Studio?

To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.

How do I stop debugging from running?

Debug | Stop DebuggingClick Stop Debugging on the Debug menu to stop the target's execution and end the target process and all its threads.


1 Answers

This appears to be a bug in Update 2 which has been reported here and hopefully gets enough upvotes so that MS takes action sooner than later.

In the meantime, you can Detach All from the debug menu instead of stopping the debug process.

enter image description here

If you want Detach All on your toolbar you can do so via the Tools, Customize menu and under commands, select the "Toolbar" radio option and choose the Debug from the pulldown. Add a Command, choose "Debug" and select the Detach All command.

enter image description here

which then gives you this

enter image description here

like image 110
David Adams Avatar answered Oct 18 '22 02:10

David Adams