Abstract out a debug renderer