Congratulations!
How much of debt?
More than I'd like, less than I feared. I'll get out with <$20k owed, so that's something.
Given I'm thinking of doing a Masters, how did you fund it in the first place?
Start working summers and saving at sixteen. During your undergrad years continue to work full-time in summers and at least part-time during the semester. During your graduate work keep working on the same pattern. If you're stretching it out to half-time semesters you can work full-time pretty easily, though that's worse financially than the opposite, doing 9-12h semesters and working half-time, assuming you're running on student loans.
Basically I burned through my savings avoiding debt from my Bachelor's and am able to pay off a couple thousand from each semester's debt with each semester's work. I'm lucky, too; my folks were willing to rent to me for relatively low rates. If I were trying to make rent I'd be lucky just to keep the interest from accumulating while I'm still in school and capitalizing when I graduate. Probably would need to murder myself with full-time or more work on top of my studies.
But yeah. Save every red cent you can. Get as much scholarship money as you can in your undergraduate years 'cause you sure as hell aren't getting any for a Master's. If you have family willing to rent a room to you for good rates jump on that shit (but seriously, don't leech, GTFO as soon as you can lock down a real job with your degree). Make as many payments as you can on the principles of your loans while still paying off the interest as it accumulates. Minimize unnecessary expenses as much as possible without killing yourself. Take as much coursework as you can; full-time at most places will cost the same regardless of how many classes above the minimum you take.
And don't fuck yourself. Don't try to take 15 hours of graduate courses and work full-time unless you're willing to do nothing but work, study, and on rare occasions sleep, for months on end. If you spend too much time and energy working you'll fuck up your performance in classes and your information retention. My personal edge of comfort was 12h and half-time work, any further beyond that and I felt like I'd start slipping. Try to find that point for yourself.
But yeah, unless you're already wealthy you're not getting graduate or post-graduate degrees without a bunch of student loan debt. Your job is to milk as much value as possible out of the courses while minimizing the time you spend in the program and paying off as much as possible before graduation.