Optimizes debug output