Conditional Compilation (AKA preprocessor macros) in Haxe is pretty useful but limited to boolean values. We can make use of macros to use compiler flag of non-boolean type.
The traditional way
Usually we can define a flag
mydebug in hxml:
And use it in Haxe code in this ...