Add laravel to development mode and fix the wrong debug mode in production