On the other hand, if you can show it's under control and you're actively managing it, it won't be a problem. They look at it for TS clearances because they want to know if your financial lack of health is a potential lever for an adversary to use against you. Be honest, up front, and tell them how you're fixing the problem, and it shouldn't be an issue. Look at the investigator all wild-eyed and scream "I'm on the brink of bankruptcy! Oh God, what am I going to do!?", and you're probably not going to get that clearance.