-
Notifications
You must be signed in to change notification settings - Fork 340
Description
I find it slightly annoying that I have to manually exit out of the embedded widget window when I'm done with a debug session to get back to the view I was in prior to starting the debug session. I would like to propose a new settings flag that controls whether the debug window closes automatically upon debug session end or not.
I think a solution to this problem would be to add a Dart->DevTools settings flag similar to 'Dart: Dev Tools Reuse Windows' which would then control whether or not this happens on debug session end. Then, in handleDebugSessionEnd() or a more appropriate location, add code to call DevToolsEmbeddedView.dispose() (currently set to private) for the embedded view associated with the session.
Included is a screenshot with some pseudocode I wrote as a proposed solution. Thanks for your consideration.
