Rework debug