add transaction into debug method