I am trying to run a Python project on the WSL (Ubuntu-18.04 distribution) system with VS code. I have the WSL - Remote plugin v0.39.9 installed. When run the command:
code .
Receive the error:
/home/username/.vscode-server/bin/6ab598523be7a800d7f3eb4d92d7ab9a66069390/bin/code: 12: /home/username/.vscode-server/bin/6ab598523be7a800d7f3eb4d92d7ab9a66069390/bin/code: /home/username/.vscode-server/bin/6ab598523be7a800d7f3eb4d92d7ab9a66069390/node: Exec format error
When I ran inside the VS Code trying to connect to the WSL instance:
Starting VS Code Server inside WSL (Ubuntu-18.04) Extension version: 0.39.9, Windows build: 18362. Multi distro support: enabled. WSL path support: enabled VS Code Server for WSL closed unexpectedly.
This is the information of VS Code:
Version: 1.39.2 (user setup)Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390Date: 2019-10-15T15:35:18.241ZElectron: 4.2.10Chrome: 69.0.3497.128Node.js: 10.11.0V8: 6.9.427.31-electron.0OS: Windows_NT x64 10.0.18362