[Azure Functions] Configuration is missing the 'HostEndpoint' information. Please ensure an entry with the key 'Functions:Worker:HostEndpoint' is present in your configuration.

I solved this by updating Visual Studio Azure Development Toolkit:

Ensure you have Azure development ticked

If you'd like to run from VS Code, ensure that you have Core tools installed:

Develop Azure Functions locally using Core Tools
Learn how to code and test Azure Functions from the command prompt or terminal on your local computer before you deploy them to run them on Azure Functions.

If you are running from Visual Studio, you don't need to directly install Core tools.