Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
@echo off
setlocal enabledelayedexpansion
rem vscode requires -V to output OpenSSH
for %%A in (%*) do (
if "%%A"=="-V" (
echo OpenSSH
exit /b 0
)
)
rem replace -v with --debug
set args=
for %%A in (%*) do (
if "%%A"=="-v" (
set args=!args! --debug
) else (
set args=!args! %%A
)
)
rem call tssh
tssh %args%
changed: D:\tssh.bat