This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

axomat
axomat

Is there a way of displaying a list of the variable names available in a particular page. I have come from Smarty where the debug option lists them really simply which makes it clear whether you have mistyped a variable or whether it is just not available to the page.

axomat
axomat

I can see this should be possible by using the twig dump function. But I cant get it to work despite setting the debug value in the twig environemnt. Has anyone else got the twig dump command to work?

Daniel81
Daniel81

This would be very helpful.

Also, I see there is a "meta" tab, and I know there's an issue been raised on GitHub #45 for this to be accessed, so hopefully that will happen soon :)

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.