Hello, i use DDEV for local development, but i have a problem with Twig Debugging. I create my services.yml File and enable Twig debugging, Live Reload and disable the Cache. But i cant see the Comments in my Code Inspector. This only happens, when i use DDEV as my Development Environment. Maybe one of you have experience with DDEV and can help me. 

Comments

danrod’s picture

In your file "settings.ddev.php", add this line at the end of the file:

$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/default/services.yml';

Assuming the file 'services.yml' is located at '/sites/default'