A Last Will & Testament may contain language that forgives indebtedness owed to the decedent by a third party, even if the indebtedness is confirmed through a written Promissory Note.
But if the holder of the Promissory Note is not a beneficiary of the assets of the estate, another solution is used.