Ludwig Wittgenstein’s Tractatus Logico-Philosophicus (1921) appears to be the only major work of philosophy to have been composed while the author was an active military combatant. René Descartes was serving in the Thirty Years War as a volunteer with the Dutch and then Bavarian armies when he first developed his philosophical ideas, but we don’t know whether he saw combat.
