Let me clear up a couple of points of confusion:
(1) You don’t actually need to have a “Debug” build in order to step-debug and set breakpoints. You can do this perfectly well with a “Release” build. The only problem is that in a “Release” build the code will have been compiler-optimized, and so the assembly code won’t precisely match the C++ code, and you get some weird behaviors from time to time. Also, watch variables are frequently reported incorrectly.
(2) If you want to debug with a true “Debug” build, you need to have Panda and Python both built in “Debug” mode. By Python and Panda convention, the dll’s also must be named _d.dll; if makepanda doesn’t do this, it’s a bug, and it means makepanda can’t produce a working Debug build. You’ll have to use the ppremake system to make a Debug build of Panda, or fix the makepanda bug.
(3) Making a “Debug” build of Python should be easy. Get the MSVS project file, and pick “Debug” from the build menu. Click “Build Project”. This is all I had to do last time I build this. It will produce a program called python_d.exe, which you have to run (instead of python.exe) to use your debug Panda build.
David