How do student loans play into debt to income ratio?

Student loans and how they are calculated in regards to getting a mortgage?