I'm developing a Node/Express project running on Ubuntu (WSL on Windows 11). I'd like to develop code on my laptop by remotely connecting to the Node project files using either WebStorm or VSCode.
I can ssh to the project by running:
ssh -t [email protected] "wsl ~"
The wsl command nicely takes me to the root of my WSL installation but whenever I try to open a remote a location in VSCode, it displays the Windows (host) files (not the Ubuntu WSL filesystem).
I don't really want to go the vim route. Alternatively I'd use git to develop on my laptop and keep pushing the changes and pulling them from Ubuntu WSL but I don't believe that would be the most optimised flow.
Any idea of how I could do that?