My Angular / WebAPI application suddenly stopped working from Visual Studio and VSCode. Turned out that I was missing an environment variable.