Visual Studio using the LLVM/Clang compiler is the best way to both compile MAME and use the VS debugger. "make msllvm" I think is the magic.