Debt cannot be inherited! When someone dies if they’re the only name is on a loans, credit card, mortgage, car loan, etc their debt dies with them. Regardless whatever lies bill collectors try to tell you, because they absolutely will lie.
Whatever student debt you have will not be the responsibility of your parents, partner or children unless their names are also on the loan, like if your parents got a loan as parents of a student.
I know this first hand.