-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
js-debug debugger terminal discoverability #98054
Comments
👍 to adding a new button to the terminal toolbar. Or even a debug button or something to turn a regular terminal into a debug one (if that is possible). |
Hmm, it's already fairly busy up there with the dropdown and 5 buttons. Looking ahead a little bit, how would this interact with a future shell selector/tabs that I'm hoping to have similar to Windows Terminal: Would debug terminal be a shell entry in the dropdown, using your default shell by default? Allowing you to enable it on any shell in a custom profile (similar to this](https://github.com/Tyriar/vscode-shell-launcher#settings))? |
Something like that could work well. The debug terminal is a little 'weird' because it's a mode that can apply to any terminal, but we could just say it uses your default terminal and can be configured differently as desired. I'm not sure if it's a pattern we use anywhere, but photoshop has these little arrows in the lower right of buttons to indicate you can click it or expand it. We could do something like that to avoid needing a separate button. |
@connor4312 do you know if theres a shortcut to cycle between Debug, Terminal, Output and problems? |
@jasonwilliams you can add keybindings for |
@connor4312 sounds like a good solution until we gets the tabs/new terminal dropdown separation 👍 |
One more suggestion. Kai and I talked about having some button in this area This is a natural place for discoverability. I have two questions for this area:
cc @isidorn |
@connor4312 makes sense to make the js-debug terminal more discoverable. Please note that we are adding Due to that I see two good options:
Also for considerations look into a case the debug toolbar is docked via a setting in that area. Then we do not show these actions. |
I don't like the idea of installing an extension changing the behavior of an existing button in the UI. A |
@connor4312 ok for this I have created Unfortunetly I will probably not have time for this this week, and from end of next week I am on a long vacation. So let me know if you need it before so I provide some code pointers so you can also maybe look into it. |
Previously if a debug extension provided multiple dynamic configurations, we would just use the first debugger -- whatever that was. This change now shows all configurations for which dynamic configs are registered. I also adjusted the picker to automatically select the first item if there's only a single configuration provided. This works well for the debug terminal, but also means that the user doesn't see the name of the selected item, which might not be desirable. Open to pushback. Together these finish the request for a separate top-level contribution for the terminal in #98054 Finally, with that adjustment I made a tweak so that the picker shows up in a `busy` state while extensions are activating. Previously you would select a dynamic configuration title and could have a few seconds of delay before the picker came up, which is probably not desirable.
Sounds good. Closing this out as everything else is completed. |
We want to explore ways to increase the discoverability of the debugger terminal. The entrypoints we have today are:
Thing we can improve:
Contribute the debugger terminal into the Run and Debug dynamic configurations. Good discoverability, easy and no overhead.
contribution to
...
in the debug view (august) deferreda separate top-level dynamic debug configuration for the terminal
Kai suggested contributing a button to the debug terminal toolbar, in this area
We would be careful to only do this if the workspace contains javascript files. @Tyriar thoughts?
The text was updated successfully, but these errors were encountered: