How to debug C++?

You can add breakpoints both in C++ and Blueprints. This will point you in the right direction if you still have issues: Intro to Debugging C++ for Unreal Engine using Visual Studio - YouTube
I highly recommend the video if you are having issues.