Run your ide with debugging enabled and put in break points into your c++ code. Once a condition is met and the debugger pauses you can then hover over variables near the debug point to see variable values and step over the code following it’s execution.
You probably still need to add a callback to the thread to let unreal know that the calculations are done so you can access the path