I fixed this issue by turning Remote Tunnel Access OFF in Visual Studio Code, which apparently affects Visual Studio as well.