Eliminate IDLE-specific debug code