how to open visual studio code as a root user code example Example: how to run vscode as root sudo code --user-data-dir="~/.vscode-root"