What a PhD in CS teaches you is how to do research in CS. This skill may or may not be valuable for a specific company and may or may not intersect with raw dev chops. Production Dev is a distinct skill from CS research.
As a dev who has both interviewed and worked with several dozen PhDs and ABDs, the intersection of skills required to both be a great developer and complete (or nearly complete) a PhD are nearly zero.