Improved pipeline debugging code

Delayed pull request as promised in https://groups.google.com/d/msg/revel-framework/lJRa-qmx2Ok/mTV93Snp9zoJ