title: Opening VSCode from the command line in WSL2
body: <p>In WSL2, if I am in any folder like <code>/mnt/c/*</code> and I type <code>code .</code> VSCode opens properly.</p>
  <p>However, if I am in any Linux folder e.g, <code>/home/&lt;user&gt;</code> etc. and I type <code>code .</code> then VSCode doesn't open. I just see a blinking cursor on a new line and absolutely nothing else happens.</p>
  <p>When I run it with <code>VSCODE_WSL_DEBUG_INFO=true code .</code> it appears that this is the line on which it is failing:</p>
  <p><code>ELECTRON_RUN_AS_NODE=1 /mnt/c/Users/&lt;username&gt;/AppData/Local/Programs/Microsoft VS Code/Code.exe C:/Users/&lt;users&gt;/AppData/Local/Programs/Microsoft VS Code/resources/app/out/cli.js --locate-extension ms-vscode-remote.remote-wsl</code></p>
  <p>Thoughts on what could be going on?</p>