skip to Main Content

I’m using vscode version 1.71, but I’ve searched for a long time and can’t find the corresponding option to enable this feature.

I remember that the files opened in debugging were in preview mode by default.

2

Answers


  1. As explained in VSCode documentation, you should add/modify the following attributes in your setting.json file:

    "workbench.editor.enablePreview": true,
    "workbench.editor.enablePreviewFromQuickOpen": true
    
    Login or Signup to reply.
  2. I confirmed that the behavior you described is happening, debugging in both Python and Java (so it’s not necessarily extension specific), even with all 4 enablePreview settings checked.

    Apparently this was reported as a bug and fixed back in 2017:
    Files opened by debugger are not in preview mode #34624

    But apparently it’s back, from my observation. So at least you’re not going crazy, or if you are then both of us are.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search