If you’re a professor with a sizable amount of debt, paying it off and investing do not have to be mutually exclusive.