Depends on your field. In the hard sciences, a master's degree represents a huge gain over a bachelor's. Not to mention, in the hard sciences you typically don't incur much for student loans since your tuition is waved and you are paid a teaching assistant stipend.

Luckily most of my undergrad loans were subsidized, so the 5 years I've been in grad school they have incurred almost 0 interest. Compare that to inflation, and you could argue I'm making money by just letting those loans sit there.

JonV