To resolve poor performance on Raspberry Pi 4 when running Visual Studio Code, you need to disable hardware acceleration.Press F1 in VS Code and type 'runtime' to access runtime preferences.Select 'Preferences, Configure Runtime Arguments' and set it to the recommended value.After disabling hardware acceleration, Visual Studio Code becomes usable on the Pi.