Starting in the Minkowski formulation, the Feynman $i\varepsilon$-prescription is just the first infinitesimal angle $\theta=\varepsilon$ of a Wick rotation
$$\begin{align} t(\theta) ~=~& e^{i\theta} t_M, \qquad \theta~\in~[0,\frac{\pi}{2}], \cr t(\theta\!=\!0)~=~&t_M, \qquad t(\theta\!=\!\frac{\pi}{2})~=~it_M=t_E, \end{align}$$
in the complex $t$-plane to the Euclidean formulation. Heuristically, on physical grounds, no poles & branch cuts are expected after the first infinitesimal rotation $\theta=\varepsilon$, so this in turn is equivalent to the full $\theta=\frac{\pi}{2}$ Wick rotation.
NB: Wick rotation of spinors is subtle, cf. e.g. arXiv:hep-th/9611043 & this Phys.SE post.