Skip to content

Instantly share code, notes, and snippets.

@maccevedor
Created December 23, 2015 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maccevedor/16e8de3f990fcddcf535 to your computer and use it in GitHub Desktop.
Save maccevedor/16e8de3f990fcddcf535 to your computer and use it in GitHub Desktop.
# '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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment