How to show information through HUD like console command 'ShowDebug ANIATION' from C++?

Hi, I want to show game states to HUD like console command ‘ShowDebug ANIMATION’.
I found DebugCanvas, DebugTextList in AHUD, but can’t find how to use it.
I know how to add my own console command.
How to show game state(or information of game state or game instance) by C++ code through HUD?
Can I get any sample tutorials, sample project or any starting point?
Thanks.

I found AActor::DisplayDebug.
It’s called from AHUD::PostRender → AHUD::ShowDebugInfo.
So, if you want to show your own debug information to HUD,
overriding XXPlayerActor::DisplayDebug, XXGameMode::DisplayDebug will work.