Twig extension to set breakpoints
MIT License
Published by ajgarlag almost 2 years ago
final
breakpoint
functioncomposer/xdebug-handler
when availablePublished by ajgarlag over 3 years ago
This version finally supports Twig 3 and Symfony 5
Published by ajgarlag over 5 years ago
In #11 a bug related to the $arguments
variable population was reported.
Thanks to @AlanHatch his PR #12 which fixes the bug.
Published by ajgarlag over 5 years ago
Use namespace twig classes
Published by ajgarlag almost 6 years ago
Symfony 4 is officially supported
Published by ajgarlag almost 7 years ago
The extension is now compatible with Twig 2.x
Published by ajgarlag over 8 years ago
Once the debugger to stop, there will be three variables defined to easily inspect the function context:
$environment
: The Twig_Environment
instance.$context
: The twig context with all defined variables.$arguments
: The arguments passed to the breakpoint
twig function itself.Published by ajgarlag over 8 years ago
This new release includes a Symfony Bundle, so it can be directly integrated into your Symfony app.
Published by ajgarlag over 8 years ago
This first release introduces the breakpoint
twig function