Switch PutUint16 by debug flag.