I'm not sure I agree with the placement of debt. It is often the case that you can you off the debt, but the money invested properly could increase faster than the debt increases.
On the other hand, if you pay off that debt, you're entirely removing the risk of default, which means you can take on more risk with the remaining capital, and don't have to have 6 months of debt repayments in your emergency fund.