Dr. Michael Gabriel Galvez, a pediatric hand surgeon who treats mostly low-income patients at a hospital in California’s Central Valley, jokes with families that he went to “30th grade.” But that did not come cheap. The debt he has accrued from 18 years of higher education and medical training, including Stanford Medical School, fellowships and residency, is about $250,000. (And that does not include credit card debt.)