How to stop browser closing automatically when you stop debugging on VS 2017

前端 未结 6 1783
天命终不由人
天命终不由人 2020-12-07 07:16

I\'m trying out the new VS 2017 RC and wondering if anyone knows how to get the previous debugging behavior back

In VS 2015 it went like this:

Press start de

6条回答
  •  太阳男子
    2020-12-07 07:28

    The reason for the change in behavior is due to VS 2017's support for debugging JavaScript/TypeScript running in Chrome. See announcement here https://blogs.msdn.microsoft.com/webdev/2016/11/21/client-side-debugging-of-asp-net-projects-in-google-chrome/

    To return to the 2015 behavior where Chrome is not closed by the debugger, disable the IE/Chrome script debugger in Tools -> Options like so:

提交回复
热议问题