Debugging the random rotation of the camera

I want to rotate my camera however trying both SetRelativeLocationAndRotation as well as SetWorldRotation for the CameraComponent as target did not work.

Then I suspected what if the roll, pitch, and yaw are not getting any value and wanted to print them in the top left cornet of the scene but nothing got printed. Why is the print doesn’t work?

Additionally, I would want to make sure that pitch and yaw random values get changed every game tick. How can I make it like so?

I also have this one which doesn’t work for SetRelativeLocationAndRotation: