in reply to How to get comments printed as log statements?
You should be able to tweak Smart::Comments to do this without too much effort.
Personally, I use Devel::Trace for this sort of thing. It traces out every line of code as it runs, but I think you could fairly easily tweak it to only trace the comments.
|
|---|