Clean debug when a panel change