You need to open tools/buildsteps/win32/make-addons.bat (or the bat that prepares the VS projects) and change the value of -DCMAKE_BUILD_TYPE to "Debug" and make clean builds.
Always read the online manual(wiki), FAQ(wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules(wiki).
Please read the pages on troubleshooting(wiki) and bug reporting(wiki) before reporting issues.