Learn how to effectively debug issues in YMCA Website Services using these essential techniques and tools.
Enable Verbose Error Messages
// In settings.local.php (development only)
$config['system.logging']['error_level'] = 'verbose';
Use Drush for Debugging
# Watch logs in real-time
drush watchdog:tail
# Show recent errors
drush watchdog:show --severity=Error --count=20
# Check site status
drush status
# Check for security updates
drush pm:security
Browser Developer Tools
- Network Tab - Check for failed requests
- Console Tab - Check for JavaScript errors
- Application Tab - Check cookies and local storage
Enable Twig Debugging
# In sites/default/services.yml
parameters:
twig.config:
debug: true
auto_reload: true
cache: false
Then clear cache: drush cr
Need more help? See specific error categories or Get Support.