We’ve just released version 2.6.0 of the Haxe extension for Visual Studio Code. Most notably, the extension now has debugging support for Haxe 4’s macro interpreter “Eval” built-in! For more details, check out the debugging section on the wiki.
@Gama11 I read the debugging page and was at first like: “this just cannot work out of the box”. I have been playing around with debugging macros now for some time and it is just so very convenient.
I have been using macros for years now and debugging them has always been such an enormous pain in the be-hind.
What an amazing upgade
Just a few points of feedback (please let me know where I should leave these)
Using this.variable allows you to inspect the “variable” by hovering it. On the other hand only using variable (without this. in front of it) does not…
When hovering a variable, the popup is a bit too small when there is a horizontal scrollbar. As a result the horizontal scrollbar covers the last field of the variable you are hovering and does not really allow you to expand that field for further inspection.