Hmmm, can't help there since I started with blender code during the 2.5 series. I've never tried debugging python with MinGW either but a good bet is that MSVC express will help you do the job. You do not need Basic and C# for blender. The C/C++ compiler is included in the base MSVC express package.