Can't connect VS Code to Linux machine for remote development

后端 未结 3 1000
醉梦人生
醉梦人生 2021-02-05 10:47

I am getting this error on VS Code and have no clue why it fails

[15:14:59.543] Log Level: 2
[15:14:59.555] remote-ssh@0.51.0
[15:14:59.555] win32 x64
[15:14:59.         


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-05 11:07

    Add one key in your settings.json as below. Please remember to replace the $remote_server_name to yours.

        "remote.SSH.remotePlatform": {
            "$remote_server_name": "linux"
        }
    
    

    Menu: File->Preference->Settings

    Or click the icon to open settings.json:

提交回复
热议问题