Как запустить vscode как root
sudo code --user-data-dir="~/.vscode-root"
Uninterested Unicorn
sudo code --user-data-dir="~/.vscode-root"
sudo code --user-data-dir="~/.vscode-root"
sudo code --verbose --user-data-dir --no-sandbox
$ sudo code --user-data-dir=~/root