Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floer32/a93bc4ffd486f3646272c922ec274aff to your computer and use it in GitHub Desktop.
Save floer32/a93bc4ffd486f3646272c922ec274aff to your computer and use it in GitHub Desktop.
How to make VS Code focus the Debug sidebar instead of File Explorer

It took me a little bit to find this setting so I'm writing it down for friends.

After you finish a debug session in VS Code, it may change the sidebar's focus back to the File Explorer.

I don't think it is the default setting, but mine was set that way (and I didn't remember that).

To change it in your settings JSON:

{
  "debug.openExplorerOnEnd": false
}

(I think the reason it took a bit to find is that it doesn't mention sidebar, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment