One simplistic definition of 'debit' and 'credit' that my accounting teacher taught me:
'debit' means 'left', 'credit' means 'right'
Then, you just make sure that SUM('left') == SUM('right').
'debit' means 'left', 'credit' means 'right'
Then, you just make sure that SUM('left') == SUM('right').
Until you're used to these two words and they speak for themselves, assigning any other meaning tends to lead to more confusion than anything else.
Finally in grad school I got it - left and right - and accounting has never been a problem again.