Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Visual Studio 2015 extra debug option

People also ask

How do I disable debug mode in Visual Studio?

To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.

How do I stop debugging in VS code?

VS Code maintains a debug session while the program is running, and pressing the Stop button terminates the program.


Try unchecking this option: Tools –> Options –> Debugging –> General –> Enable UI Debugging Tools for XAML.

Though you still might consider leaving it on and using it to your advantage.


After having the same question and finding the answer here, I also discovered that it can be toggled from the Live Visual Tree window.

While debugging, Debug (menu) -> Windows -> Live Visual Tree

The first icon (Show runtime tools in application) will toggle it.

Show runtime tools in application


Instead of turning mine off entirely, I've taken to collapsing it most of the time. There are still times when it's entirely useful, and the collapsed version does a nice job of providing only minimal UI usage. To collapse it, click on the horizontal bar:

enter image description here

To restore it, simply click the bar again.


I realise that this is an old question, but there is an additional option that no one has mentioned. Rather than turning this useful functionality off completely, we can enable the functionality, but just remove the annoying runtime tools from appearing at the top of our applications:

enter image description here

This option can be unchecked at the following location:

Tools > Options > Debugging > General > Enable UI Debugging Tools for XAML > Show runtime tools in the application