I'm using Craft 2.6.2776. According to the templating docs, Craft extends the built-in Twig templating functions, which it links to. Among those functions is dump()
.
Here's the relevant part of my template:
{% dump(craft.request.getURL) %}
When I refresh the page, I get the error Unknown "dump" tag.
.
It seems like dump
should be supported, according to the docs. What's going on?
Edit
I'm using VirtualHostX to run my PHP server, and the URL is xxx.dev. According to my general.php
file, I am in dev mode:
'.dev' => array(
'enableTemplateCaching' => false,
'siteUrl' => 'http://xxx.dev',
'environmentVariables' => array(
'baseUrl' => 'http://xxx.dev'
),
'devMode' => true
),