drupal dump variables code example
Example: print all variables twig
<ol>
{% for key, value in _context %}
<li>{{ key }}</li>
{% endfor %}
</ol>
<ol>
{% for key, value in _context %}
<li>{{ key }}</li>
{% endfor %}
</ol>