I'm the author of the Twig Eclipse Plugin and am thinking of a way to create step-through debugging support for twig templates.
As you've written both the twig c extension and also xdebug, i'm wondering if you could give me some feedback on if this would be possible.
Basically, if you're stepping through a HTTP request involving twig templates in the PHP debugger right now, when the twig template is rendered you are stepping through the generated PHP class, which is not really user-friendly.
I'm wondering if there's some way to translate those compiled php templates back to the original line numbers to work with an IDE step-debugger.
I'm the author of the Twig Eclipse Plugin and am thinking of a way to create step-through debugging support for twig templates.
As you've written both the twig c extension and also xdebug, i'm wondering if you could give me some feedback on if this would be possible.
Basically, if you're stepping through a HTTP request involving twig templates in the PHP debugger right now, when the twig template is rendered you are stepping through the generated PHP class, which is not really user-friendly.
I'm wondering if there's some way to translate those compiled php templates back to the original line numbers to work with an IDE step-debugger.