Код VS Удаленный - расширение WSL всегда использует дистрибутив WSL по умолчанию.Вы можете изменить дистрибутив по умолчанию, используя команду wsl
(wslconfig
в более ранних версиях Windows):
# List the available distributions
wsl --list

# Set the default version to debian
wsl --setdefault debian

После изменения значения по умолчанию для WSL обязательно перезапустите VS Code