Enable Source Level Debug through Visual Studio Code on Linux - shijunjing/edk2 GitHub Wiki
Install the Visual Studio Code on Linux
https://code.visualstudio.com/docs/setup/linux
sudo snap install --classic code
Launch the VS Code in Linux:
Follow the steps in below link to install Putty, VcXsrv Windows X Server and forward the X11: