WSL v.1 -- VSCode v1.40.1 (using \'Remote - WSL\' extension 40.3)
How to open a root-owned file for edit using sudo and VSCode? (without running as root)
input this in powershell and press 'Enter'
ubuntu config --default-user root
then you will login wsl with root user and you can do anything now