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