-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
All installed callstack context menu items are shown during every debug session #19608
Comments
Well, what I can do for now is just not contribute it from the Chrome extension. When you click the context menu item during a chrome debug session, it will activate the node2 extension and send the correct message to the chrome debug adapter. But if it's easy, it might even be worth considering for January? |
Not for january, this is not critical and only happens if you have chrome extension installed. Also having 2 of the same actions is not the end of the world. In a perfect world these actions should have a precondition when they are enabled, for instance We already have a context 'inDebugMode', but I can look into introducing the dynaminc context based on debug type |
@isidorn yes, we need to provide a dynamic context based on debug type. |
Ok so I introduced a dynamic context based on debug type, namely you should now be able to do the following:
Via aa2c164 @roblourens you can now adopt it on the node2, chrome side. Feel free to reopen if you want to track it here |
Looks great, thanks |
I always assumed that during a debugging session, I'd only see the context menu items contributed by the active debug adapter. But in prepping the chrome extension to release, I just realized that I see all of them during every debug session.
This is a Go debug session, and I see callstack context menu items from node2 and chrome. They don't do anything. I think they should both be hidden. Normally if you have the Chrome extension installed, you'll see two instances of "toggle skipping this file".
@isidorn @weinand
The text was updated successfully, but these errors were encountered: