When asked, I do not advise anyone to go to law school these days unless their life’s desire is to be a litigator, for which you need to be a member of the bar. You come out with less debt, more opportunity with an MBA (even an MBA/JD is better than the JD alone) or a specialized masters which often includes an internship or summer job in the field.
The days of ‘I have a law degree, I can do anything’ are long gone and the debt for most grads (who don’t make the mega money, as you mentioned) lasts a life time.
When I went to undergrad, most people didn’t have student loans, so some debt from law school was manageable. But nowadays, with undergrad and law school debt, I think students are fooling themselves if they think some million dollar job is just waiting for them when they pass the bar.
Place I worked at hired only 4 year grads. They said it didn't matter what their major was, only that the applicant had demonstrated the ability to complete a major project.