Is any outstanding student debt deducted from the years savings in the khums calculation, and if I have more debt than savings in any given year does that mean I don’t pay khums for that year?

This rule applies to debt incurred for continuous living expenses like a home or car, and not for temporary expenses. Thus, your student debt cannot be deducted from the khums amount