If you’re not using Rider, no problem: In this tutorial I will provide you with tipps that are, in the most cases, applicable to other IDEs as well. We will create C++ Templates for Unreal Classes and I will also provide you with a batch file that will help you to perform clean builds. In the second part we are going through different debugging approaches: The Blueprint Debugger in Unreal Engine, the Rider Debugger, console and onscreen logging and finally we are going to utilize macros to draw debug geometry in our 3D world.
https://dev.epicgames.com/community/learning/tutorials/xp7O/2-unreal-engine-5-c-coding-and-debugging-with-out-rider