Somehow when I run code . inside the WSL, it simply doesn't do anything. If I which code it does return the VS Code path on windows, but still nothing happens.
Somehow when I run code . inside the WSL, it simply doesn't do anything. If I which code it does return the VS Code path on windows, but still nothing happens.
Well, after some research, what really fixed the issue for me was the following:
rm -r ~/.vscode-server to delete the VS Code WSL server.wsl --shutdown.Then you can log in back to your WSL and run code . and it should work normally.