Is there a way to automatically collapse the Script Documents section in solution explorer?

后端 未结 6 1516
灰色年华
灰色年华 2021-01-31 07:10

While in debug mode, the solution explorer has a Script Documents section. It is expanded by default. As the debugger runs, new ScriptDocumentxxx poll.txt files a

6条回答
  •  终归单人心
    2021-01-31 08:00

    I got annoyed enough with this that I turned off JavaScript debugging. If you are willing to go that far, the scripts are gone.

    The path for turn of JS debugging is:

    Tools -> Options -> Debugging -> General -> Enable JavaScript debugging for ASP.NET (Chrome, Edge and IE) (Visual Studio 2017 and 2019)

    Note: This method does not prevent you from stepping though JS in the Chrome inspection tools so you do not lose that ability. You lose both the scripts (of course) and that new Chrome window that pops up when you launch the debugger.

提交回复
热议问题