twig dump drupal 8 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>