Skip to content

EverlastEngineering/debugInTitlebar

Repository files navigation

Using the toolbar floating always means something gets hidden by it, and when docked, you can only control them with the debug viewlet open. This extension was born to solve this, while half-paying attention to a Google Meet.

Once installed, go to your Preferences->Settings and search for debug toolbar, then set to docked or hidden to prevent that floating toolbar from wrecking your flow.

This extension reveals the controls here:

Screenshot

There is also an additional control, the Toggle Breakpoints button, which isn't normally visible in the toolbar. This is handy when you are in the midst of a deep dive into code and want to "just run the darn thing" without nuking all your breakpoints. Toggle, play, and toggle back for next time.

Known Issues

The "Toggle All Breakpoints" button isn't state-aware of the existing breakpoints Enable/Disable button, and currently can't be as VSCode doesn't expose that as a parameter. It just means that the first time you click this extension's Toggle button they might already be disabled. Click it again, and all will work.

Also, no debug icons will show in the titlebar if there are no files open.

Release Notes

^1.0.8

Good suggestion to implement the default start button as a configurable option. Thanks DominikVonk for implementing and ctf0 for the suggestion.

1.0.1

Community patch to remove the spinning logo accidentally left in, which didn't work on my local machine anyway (which is why it was left in by accident). Thanks DominikVonk.

1.0.0

Initial release. No plans for additional features at this time.

About

A Visual Studio Code extension to put the debug control buttons into the title bar.

Resources

Stars

Watchers

Forks

Packages

No packages published