Skip to content
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

Add a inPausedDebugMode flag #33085

Closed
fabiospampinato opened this issue Aug 24, 2017 · 2 comments
Closed

Add a inPausedDebugMode flag #33085

fabiospampinato opened this issue Aug 24, 2017 · 2 comments
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality
Milestone

Comments

@fabiospampinato
Copy link
Contributor

There's already an inDebugMode flag that can be used in keystrokes' when clauses. It would be useful to have an inPausedDebugMode as well.

My use case: I've made my workbench.action.debug.continue shortcut be cmd+\, which is what Chrome uses, but that's also the same shortcut I use for splitting the editor. Basically without this flag I cannot split editors while debugging.

Having this flag would also partially fix #30810 if ever those when flags will be exposed via the API.

@vscodebot vscodebot bot added the debug Debug viewlet, configurations, breakpoints, adapter issues label Aug 24, 2017
@weinand weinand added the feature-request Request for new features or functionality label Aug 24, 2017
@weinand weinand assigned isidorn and unassigned weinand Aug 24, 2017
@isidorn isidorn added this to the Backlog milestone Aug 28, 2017
@isidorn isidorn removed their assignment Aug 28, 2017
@isidorn
Copy link
Contributor

isidorn commented Nov 17, 2017

There is debugState context key. Try it out

@isidorn isidorn closed this as completed Nov 17, 2017
@fabiospampinato
Copy link
Contributor Author

Great!

For future reference: the string to use is debugState == 'stopped'.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants