Twig tab not visible in debug bar

Hi all,

I’m currently learning Grav and trying to understand which Twig templates are used when a page loads. I’ve enabled the debug bar and also set twig_debug to true.

However, unlike the screenshot shown in the documentation (Debugging & Logging | Grav Documentation), I don’t see the Twig tab in the debug bar. The tabs I do see are: Messages, Request, Timeline, Exceptions, Config, Plugins, Streams, Deprecated.

twig:
  cache: true
  debug: true
  auto_reload: true
  autoescape: false
  undefined_functions: true
  undefined_filters: true
  safe_functions: {  }
  safe_filters: {  }
  umask_fix: false

debugger:
  enabled: true
  provider: debugbar
  censored: false
  shutdown:
    close_connection: true
  twig: true

My setup:

  • Grav v1.7.48
  • Chrome v137
  • macOS (Intel)

Any idea why the Twig tab might be missing? Did I miss a setting?

Thanks in advance!

@zero2411, I’ve never seen the Twig tab either…

I’m currently learning Grav and trying to understand which Twig templates are used when a page loads.

I just follow the {% include 'partials/etc' %} inside the templates. It always starts with the templatename used in the filename of the page eg. default.md, which {% extends 'partials/base.html.twig' %}, which includes others like {% include 'partials/navigation.html.twig' %}, etc.

Most of the time, the templates are only 3 levels deep: default → base → navigation

1 Like