Search code examples
visual-studio-2019iis-express

Keep IIS express running when VS2019 debugging stop


How to keep IIS live after stopping VS2019 Debug mode?

I tried with Tools-> Debugging -> "unchecked" Enable Edit and Continue, and this approach doesn't work for me.


Solution

  • You can get this working properly by changing these settings:

    Tools > Debugging > Edit and Continue should be off

    Right click the Project in solution explorer > Properties > Debug > Hosting Model: Out Of Process

    As for the consequences of switching to Out Of Process, I don't think there are any as it's only for debugging.