Search code examples
visual-studio-codevscode-debugger

Accidentally hid the run and debug button, how do I get it back?


I was messing around with the "Run and Debug" function of VSCode, and I right clicked on the run and debug button and accidentally hid it. I don't remember what the button I clicked said, but it disappeared right after I clicked it. I've looked through all the menus, and searched online, but I wasn't able to unhide the button.

Here's an image of where the button used to be:

where the button was

Here's what it used to look like and what I'm trying to get back:

enter image description here


Solution

  • Right-click on the gear icon to the right of the Run and Debug header. Enable the Start Debugging option. The ability to hide a lot of buttons and icons was recently added to vscode. In general, right-clicking something in the same view will give you the option to re-enable anything you hid.

    You can also trigger the command: View: Reset all Menus - which will re-enable All changes you might have made to menus and icon buttons.