vscode: Debug toolbar in Command Center does not allow switching between debuggers

Related change: #192592

We can run multiple debuggers at once. For example, I often run a python debugger and js debugger at the same time. When two debuggers are running, you get a dropdown menu to switch between them. The debug toolbar actions apply to the selected debugger.

When using the new beta feature "debug.toolBarLocation": "commandCenter", this dropdown doesn’t exist, so to switch between the debuggers you have to open up the call stack panel and click one of the stacks.

https://github.com/microsoft/vscode/assets/4822129/84a5af75-3cfb-4071-8776-004dd22ea474

Can we get that same dropdown menu in the command center location?

PS: Thanks for implementing this very handy feature, it solves a persistent annoyance for me.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Reactions: 14
  • Comments: 15 (4 by maintainers)

Most upvoted comments

So, what’s the status ?

It doesn’t make any sense to have the debug toolbar in the command center if it means loosing track of what’s actually running.

It’s crucial to remember that the debug toolbar has been and still is one of the most frustrating elements in VSCode. It’s impossible to position it without obscuring something important.

Nevertheless, considering that screen space is generally wider than it is tall, incorporating the dropdown in the command center should be entirely feasible.

When you need the extra multi debugger stuff, you can use the floating toolbar instead.

I’m inclined to say that this is the answer- the default gives you the easiest access to this toolbar. The other options clean up the UI a bit for people who don’t need easy access to it. Will wait to see whether @jrieken has any thoughts too.

I dissagree with this assessment It’s also hard to tell that you are running two debuggers if you do so Switching with the callstack is inconvenient and not intuitiv The dropdown only needs to be visible if ther are multible debuggers running (same behavior as floating) so for many people this dropdown is not visible anyway.

I really like this new option but in the current state its just better for me to use the old option.

Another great “solution” for me would be if we could drag the floating panel into the titlebar.

I just ran into this problem and I must say, it’s pretty disappointing that the UX is greatly improved (not overlapping the code is great!) but then we removed crucial functionality of the debug toolbar in the process. As mentioned by @D4koon the switcher is only visible when you are debugging multiple executables (common for client-server debugging) so I think it’s already a good example of “pay for what you use”.

If we’re concerned about space (I have a ton of free space in the command center so not sure I agree it’s too crowded) it just needs to be an icon to access the drop down to meet the needs of this use case.

please reopen

I am quite surprised that this hasn’t received more attention. Debugging multiple processes in VSCode is so cumbersome and common that i open a new workspace for each process. But since i cannot open the same workspace in multiple windows, I have workspace sprawl.

We really just need the ability to create multiple “Run and Debug” panels, then we can stack the windows in a tab group or position them side by side or stacked or whatever.

I need two or more fully visible stack traces and breakpoint sets in full view with a toolbar for single step, start, stop, and restart controls.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!