Since updating VS Code to version 1.97.0 (the January 2025 release), the main window became unresponsive as soon as I opened one. VS Code reported "This window is not responding".

Instead of downgrading to the previous version (which fixes it), it turns out there is another solution.

You go to Settings -> Terminal › Integrated: Gpu Acceleration and turn that option off.

I'm assuming this will be fixed with the next update.

source