How to Keep Visual Studio Debugging Alive
If you, like me, like to take a deep plunge into Visual Studio debugging, you might've encountered the dreaded Web server process termination error, "The web server process that was being debugged has been terminated by Internet Information Services":
It's very irritating when you're in the middle of a debugging session and it's stopped by the error message above. But - there's a solution! As the error message tells us, you can configure application pool settings in IIS.
This is how to do make sure you'll be able to debug forever:
- Pop up your IIS and find the correct Application Pool
- Right click and choose Advanced Settings
- Below Process Model, find Ping Enabled and make sure it says False: