scanner debug