debug ledger