VS Code’s in-built terminal is slow or laggy on MacOS Big Sur

If you encounter an annoyingly slow or laggy Visual Studio Code terminal command executions on macOS Big Sur, you are not alone.

Fix it by entering the following command in your terminal:

codesign --remove-signature /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Code\ Helper\ \(Renderer\).app

Restart Visual Studio code.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store