How to restore terminals of last session in VSCode?

You can set that up in VSCode settings:

  1. Setting 1: Terminal -> Integrated -> Enable Persistent Sessions: turn it on
  2. Setting 2: Terminal -> Integrated -> Persistent Session Revive Process: set it to onExitAndWindowClose

Leave a Comment