To avoid the stresses of debt, think about what you can afford to spend, long before you think about what you'd like to buy.