Infinite-3D
Infinite-3D

Reputation: 148

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

Upvotes: 10

Views: 15001

Answers (3)

Sarang Ambadkar
Sarang Ambadkar

Reputation: 21

Paste View: Reset All Menus in Settings > Command Palette.

Upvotes: 2

Nikolai
Nikolai

Reputation: 181

If you have Debug panel on the right (the panel with Variables / Watch / Call Stack), then the Run & Debug button will appear at the top-left of that panel somewhere on the right.

You can drag that button to the left Activity Bar and it will pin there.

Upvotes: 0

Mark
Mark

Reputation: 181559

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.

Upvotes: 21

Related Questions