The current "Learn to Code" movement is not (or at the very least, should not be) about turning everyone into a Professional Developer.
Rather, I think it is an understanding that most of these students will pursue other professions, but will need to interact with developers.
They'll need at least a passable understanding of what code is, what debugging is, what testing is, because they'll be associated with it to some degree.
The goal is to end managers who believe that a "Debugger" is a program that fixes your bug for you.
Or that "Testing" is "it seems to work, lets ship it!"
Very few people will end up professional programmers, but everyone else needs to be somewhat familiar with code.
(In the same way that very few people are mechanics, but everyone should have a vague concept of an engine, gas, oil, gears, etc)