Focus should not auto switch to launch.json when resolveDebugConfiguration api returns undefined #56984
Labels
bug
Issue identified by VS Code Team member as probable bug
debug
Debug viewlet, configurations, breakpoints, adapter issues
*duplicate
Issue identified as a duplicate of another issue(s)
verified
Verification succeeded
Milestone
Currently, in
ConfigurationProvider#resolveDebugConfiguration
api, if it returns an empty value (e.g. undefined/null), VS Code will not continue the debug (i like this behavior), but in the meanwhile, it switches my focus to launch.json editor automatically. This is a little annoying.In Java Debugger, we use
ConfigurationProvider
interface a lot. For example, force an incremental build before launching debug. If the build failed, and the user clicksAbort
button, the debugger returnsundefined
toresolveDebugConfiguration
api. See the screenshot below. It switches my focus to newly opened launch.json automatically. The expected behavior is only stopping the debug, not changing my focus.The text was updated successfully, but these errors were encountered: