Some people consider that developers are sacrificial lambs to justify across-the-board free world trade in information technology which is to the huge advantage of the US. If the US ever did erect barriers against offshoring of development you could reasonably expect reciprocal barriers against (say) operating systems, office applications or chips. Before long there would be multiple competitors. I'm afraid that the plight of the US developer is as nothing against this, especially when there is no guild or bloc to lobby for its benefit. You only need to look at the farmers of Wisconsin who stay in business only because they successfully lobby government to erect barriers against more efficient producers abroad to see that development has wasted an opportunity. Such is life.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1