megclaypool
1/29/2019 - 4:18 AM

services.local.yml (Turns on Drupal Twig Template Debugging/Template Suggestions)

[services.local.yml (Turns on Drupal Twig Template Debugging/Template Suggestions)]

services.local.yml lives in /sites/default/

Make sure your settings.local.php file contains the following:

$settings['container_yamls'][] = __DIR__ . '/services.local.yml';
# Local development services.
#
# To activate this feature, follow the instructions at the top of the
# 'example.settings.local.php' file, which sits next to this file.
parameters:
 http.response.debug_cacheability_headers: true
 twig.config:
     debug: true
     auto_reload: true
     cache: false
services:
 cache.backend.null:
   class: Drupal\Core\Cache\NullBackendFactory