Since debt funds are relatively safer when compared to equity funds, giving fixed returns, it is generally advised to invest in them in the later stages of lives.
People usually nearing retirement, who want the safety of investment and a regular source of income post-retirement, should invest in debt funds.
Further at any stage in life if you are looking for safe investments, debt funds can help you generate higher returns than Fixed Deposits, etc with a slight amount of risk.