I found this tutorial might help.
I have tested it, it worked fine for other Draw Debugs, but not Draw Debug String. Not sure if I missed something?

Edit:
I checked the source code and found something. Draw Debug String need iterate through the player controller list. So I guess it can’t get PlayerController when the game is not running?