During development, change any settings inside the appsettings.Development.json
file.
First, export the following environment variable before executing dotnet run
:
export DOTNET_ENVIRONMENT=Development
$env:DOTNET_ENVIRONMENT="Development"
dotnet build