Debug output in Solar Skirmish

I’m trying to figure out a way of getting any debug output in the Solar Skirmish game. The instructions imply hero.say(“hello”) should do something, but that generates and error message about .say being a private property. Is there any way to find out the value of variables while the script is running?

You can use print() (or equivalent for other languages) to debug your code. Printed messages should appear in the dev tools console, which you can bring up by pressing F12 or ctrl+shift+j and selecting “Console” from the tabs at the top of the sidebar that appears.

Oh, and by the way, welcome to the CodeCombat Discourse!

hey @MarmiteOnToast what is your name in Codecombat?? (20 chars)

Same as my username here: MarmiteOnToast

Thanks, I can’t believe I missed that.
I’m finding some oddities there =m like complaining my parentheses are mismatched when I use this syntax

print(f"health = {hero.health}")

and the limit on 200 outputs, but it’s going to get me somewhere.