sudo code --user-data-dir= debian does not do anything code example Example: how to run vscode as root sudo code --user-data-dir="~/.vscode-root"