Can't watch value of static member in VS Code Haxe at runtime

Got Continuum.hx, got Container in it, got characters in Container. Can’t find how to see, at runtime, during debug, the value of Continuum.Container.characters.

Any ideas? This adds to the cumbersomeness of working with Haxe. Another massive fail on the debugger’s side is that we can’t watch variables in anonymous functions ( VS Code (JS) can't watch the value of a variable in an anonymous function? - #6 by Kyliathy ) and even for class variables you have to write this. before a variable’s name if you want to watch it.

I did a quick test. I’m using the JS target.
I don’t get the value when I hover over a static variable, but I can add it to the watch list by using the full package class name using underscores instead of dots for the package.

So that is GameScene.testVar inside the scenes package.

Hope that helps.

1 Like

Wooooooow! Niiiiiiice man! :smiley: Thank you so much @codescapade ! :brown_heart: :rocket: :metal:

Would be so nice if there were a trick like that to also watch variables in anonymous functions :sun_behind_small_cloud: