报错提示这样
在windows的vscode里面的关键报错信息是:vscode wsl Unable to detect if server is already installed: Error: Command f......
原因:
windows wsl的ubuntu启动之后,没有安装vscode,所以windows的vscode链接不上上面报错信息的server
解决办法:
更新ubuntu包
sudo sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
sudo apt update -y
sudo apt upgrade -y
安装ubuntu的vscode:
code