Skip to content

Instantly share code, notes, and snippets.

@doug48
Last active April 29, 2016 10:36
Show Gist options
  • Save doug48/102a47b73c2c8d018bfd7da664654f17 to your computer and use it in GitHub Desktop.
Save doug48/102a47b73c2c8d018bfd7da664654f17 to your computer and use it in GitHub Desktop.
Shell script to turn on magento 2 template and block hints, add the file to ~/bin in your vagrant and set permissions to 755
#!/bin/bash
mysql -u root -proot << EOF
use party_local;
UPDATE party_local.core_config_data SET value='1' WHERE path='dev/debug/template_hints_blocks';
UPDATE party_local.core_config_data SET value='1' WHERE path='dev/debug/template_hints_storefront';
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment