Add rewriter debugging tool.