Skip to content

Debugging twig templates #3

Description

@pulse00

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions