runcmf / runtracy

Tracy Debugger Bar for Slim Framework
Apache License 2.0
73 stars 15 forks source link

Possible to add display of compiled twig filename to twig panel? #10

Open innobrig opened 7 years ago

innobrig commented 7 years ago

Hi,

would it be possible to add the name of the compiled twig file to the twig panel? Sometimes when debugging things this is quite useful info and searching for the correct file in the twig cache is a pain. Thanks once again for your most excellent package.

1f7 commented 7 years ago

Hi @innobrig,

Sorry for delay with answer, new job eat all time. I agree with you, cache name is useful debug info but Twig_Profiler_Profile() not have cache name. Cache name possible get/generate only from Twig instance. Thank you.