Search code examples
visual-studio-codeterminal

VS Code Not Responding - freezes - When Opening Terminal


I am facing an issue where VS Code becomes unresponsive as soon as I try to open the terminal. Here’s what I have tried so far:

Reset VS Code settings (via settings.json)

Ran code --disable-extensions but still not responding

Tried code --disable-gpu but no change

Fully uninstalled VS Code, deleted all related folders, and reinstalled

Checked PowerShell (powershell works fine in cmd)

Ran VS Code as Administrator

Even after all these attempts, VS Code crashes whenever I try to open the terminal (Ctrl + ~).

System Details:

OS: Windows 10 (Version 10.0.19045.5371)

VS Code Version: (latest stable, fresh install)

Since VS Code freezes, I checked Developer Console (Ctrl + Shift + I) but couldn't find anything useful.

Has anyone faced a similar issue? How can I fix this?


Solution

  • A possible solution, see these issues: Opening terminal crashes the Application on newer version(1.97.0) and VSCode freezes when opening a terminal. Apparently a bug in v1.97. Already fixed - I assume there will a v1.97.x update pushed pretty soon.

    There is a suggested "fix":

    Disable this setting: Terminal › Integrated: Gpu Acceleration