Linux Shout published a tutorial about installing VS code on Debian 11 Bullseye.
2 Ways to install VS code on Debian 11 Bullseye Linux
Learn the simply way to download and install Visual Studio Code - VS code file on Debian 11 Bullseye or 10 Buster using Command terminal.

2 Ways to install VS code on Debian 11 Bullseye Linux