You can use VSCode on Windows(or any os) while running and debugging swift on a Docker/Vagrant Ubuntu Server.
Also, same implementations can be used in Cloud IDE's (Che or theia)
Possible Solutions:
- Using TCP/IPC (VSCode Langauge Client's NodeModule, not Sure Requires more Reserch)
-Sourcegraph runs LSP servers as a remote service using plain old TCP.
-vscode-languageserver-node/main.ts at release/server/5.3.0-next.1 · microsoft/vscode-languageserver-node · GitHub - SSH
- Using the vagrant-exec extension to execute LSP commands in Ubuntu-Swift-Vagrant