I don't think there's any debate that he's at least in part inspired by older tales and legends. That's what all the prophecies are, after all, and they molded the mythical Jesus to fit into those.
I do agree that we should question if he existed, and there are definitely other would-be messiahs from the same period. There are even other sets of Judaism that followed other messiahs into their own faction besides Jesus.
However, I do think there's reasonable evidence to say there was a man who actually existed at the core of the myth. He wasn't actually the son of God, and he didn't actually perform miracles (in the literal sense), but he probably did exist. I don't put any faith in that, and it doesn't mean anything to me, but for educational purposes things make more sense if there's actually a man behind the myth. You can actually learn about his life, to an extent, which you can't really do if you just assume he didn't exist.