Add doc example for Twig usage

Title says all, I had to read the code to find how I can call the debug function in Twig. So I hope this can help others.