In the constructor of Startup.cs, I injected an IWebHostEnvironment and noticed the environment is set to Production. This happens in debug mode. As a result, I'm unable to load appsettings.Development.json. I'm not sure if this is an issue on your end or .NET 6 / VS2022.
In ConfigureServices, I need to configure services based on the environment (for example use local DynamoDb in Development).