In the new update, vscode doesn't open as root in debian. Even after specifying an alternative directory using --user-data-dir
Has anyone ever faced this issue in the new update of vscode or is there any way to fix this? The terminal doesn't output any errors after executing the command (it just doesn't open as root). I couldn't find any solution online either because most of the vscode and root account related problems are associated with the person failing to specify path using --user-data-dir and in my case it doesn't open at all.
Operating system: Debian 10
Vscode version: 1.58.2-1626302803
[NOTE: I didn't face this issue until I updated to version 1.58.2-1626302803. The old versions of vscode was working fine in the root account.]
rm -r $path/*with$pathundefined, you will wipe your hard drive. Do not run things as root unless absolutely necessary. There are always better ways..