I solved this issue by the following:
inside WSL:
rm -rf ~/.vscode-server
rm -rf ~/.vscode-remote-containers
in Powershell:
wsl --shutdown
inside WSL: start VS Code clean (not reopening last session)
code --disable-extensions --log trace