Terminating the Debugger First
If a Web application is an isolated process or pool
You need not restart IIS because terminating the debugger terminates only the process of the Web application and not IIS itself.
If a Web application is an IIS process
You need to restart IIS because terminating the debugger terminates IIS itself.
Terminating a Web Application First
If the Web application is an isolated process or pool
Use Internet Service Manager to open [Property] of a virtual directory to which a Web application belongs and press the [Unload] button to terminate the process of the Web application. When you terminate the process of the Web application, the Web application must be running until the process is terminated.
If the Web application is an IIS process
Stop IIS.
Since IIS does not completely stop using Internet Service Manager, open the services to stop all IIS services (IIS Admin Service and the services dependent on it). When you stop IIS, the Web application must be running until the process is terminated.