Run this command to enable dev mode by turning debug flag to true and turning configuration caching to off.
It will also make sure that any existing config cache is cleared.
composer development-enable
You should see this in the command prompt:
> laminas-development-mode enable
You are now in development mode.
.dist extension from config/autoload/development.local.php.dist.