How to measure the real impact of debt

A friend recently asked me to create a financial calculator. He wanted a tool that would measure the impact of overall net worth, mental and physical health between using debt and using cash to buy assets or operate a farm. He wanted to analyze which approach would...