I'm using Ubuntu 18.04.5 LTS (Bionic Beaver). I'm trying to run VS Code using these commands:
>> sudo -s
# mkdir ../user-data-dir
# cd <project_path>
<project_path># code . --userdata-dir ../user-data-dir
<project_path>#
I used to launch VS Code using these commands as root before, but now it is not working. I get no errors in the command line.
code .
does open VS Code if I'm not running as root.
Help please?