There is a lot of material on this topic, mostly scattered. But a good place to start is this book:
The Architecture of Modern Mathematics, ed. J. Ferreiros & J. Gray. Oxford Univ Press, 2006.
My work on the history of set theory (Labyrinth of Thought, Birkhäuser, 2007) also touches on philosophical issues here and there.