Earlier quoted context omitted.
YMMV. A cognitive load and inherent complexity can vary dramatically between industries. Compare web frontend development with, say, a mission critical CPU design.
I'm always curious when I see comments like this: have you done both things professionally at scale, or are you guessing based on how things seem to you from the outside?
I know what kind of tools are available, I know how dead easy debugging is. There is nothing nearly comparable in complexity with a hardware design.