Implement debug renderer