1:1 duplicate of Cannot debug STM32: "Failed to launch GDB: Error: write EPIPE", let’s discuss it there.