在WSL环境中无法启动vscode时,有可能是 WSL 插件的影响,可以使用下面的步骤来解决:

  1. Open VS Code on Windows
  2. Open Extensions and then search on WSL
  3. It should say the extension needs to be reloaded - go ahead and reload it
  4. Open WSL and type code
  5. This should force another upgrade of code and this time it should launch.

参考:Cannot start vscode in WSL

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐