scale debug