Unfortunately Visual Studio (2012 and beyond) does not support debugging for MS-MPI applications. However, we
have provided a debugger extension for Windbg (https://msdn.microsoft.com/en-us/windows/hardware/hh852365.aspx) that will make help with debugging
MS-MPI application
From our homepage (https://msdn.microsoft.com/en-us/library/windows/desktop/bb524831(v=vs.85).aspx)
you can find the link to download the installer for debugger extension (it is right below the link to download the ms-mpi installer). Once you install it, there’s a user_guide that you can follow to start debugging. Let us know if you have issues using
it