maccevedor
12/23/2015 - 9:05 PM

From http://symfony.com/doc/current/cookbook/configuration/environments.html#creating-a-new-environment

# 'dev' environment and debug enabled
$ php bin/console command_name

# 'prod' environment (debug is always disabled for 'prod')
$ php bin/console command_name --env=prod

# 'test' environment and debug disabled
$ php bin/console command_name --env=test --no-debug