No, if you claim someone who has a debt, it will not affect your Tax Return. Also, claiming them as a Dependent does not make you responsible for their debts.
Please check out the TurboTax FAQ regarding the requirements for claiming someone as a Dependent:
https://ttlc.intuit.com/replies/5187060