Visual Studio - Prevent stopping debugging from closing Internet Explorer

后端 未结 3 1737
执笔经年
执笔经年 2020-12-04 02:01

Under visual studio if you run a web project by pressing the Go button on the Debugging toolbar, then stop it by pressing the Stop button on the debugg

相关标签:
3条回答
  • 2020-12-04 02:03

    Use the Detach All option from the Debug menu.

    0 讨论(0)
  • 2020-12-04 02:22

    I find that running it once without debugging is the way to go. First time, hit CTRL + F5 (starts web without debugging). This opens your browser and starts the web server for you.

    Later on, you could debug and it'll use your same browser window, but hitting stop won't cause the window to close.

    0 讨论(0)
  • 2020-12-04 02:27

    This is the way I do it: Get the URL for your project, you may have to run it once to get the port number and to start up the webserver (if you are using the built in one).

    Then open a browser session, and put your URL in.

    IF you want/need to debug, then just do an attach to process under the debug menu, I have setup a shortcut/macro to do this step for me.

    0 讨论(0)
提交回复
热议问题