"read code" and "debug code" will still be valuable and one of the ways you learn that is "write code". You might have gotten people who can only write code from cheap contracting places, but the companies choosing to go that route were shooting themselves in the foot with that decision before AI came along.
Even from offshore contractors, I still haven't run into anyone who can only write code except for someone just starting out.