FsLexYacc
FsLexYacc copied to clipboard
How to turn on runtime debug output
I see that FSharp.Text.Parsing has runtime debug output gated by the preprocessor #if __DEBUG.
I tried defining the __DEBUG preprocessor symbol in my project:
<PropertyGroup>
<OtherFlags>$(OtherFlags) --define:__DEBUG</OtherFlags>
</PropertyGroup>
And although I can see that the conditional compilation with __DEBUG works in my project's code, it doesn't seem to affect FSharp.Text.Parsing as the compiler still complains about Flags module being non-existent.
I'm new to FSharp and the dotnet ecosystem, so probably missing something obvious and would appreciate some help!