Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to turn on runtime debug output #159

Open
artempyanykh opened this issue Feb 11, 2022 · 0 comments
Open

How to turn on runtime debug output #159

artempyanykh opened this issue Feb 11, 2022 · 0 comments

Comments

@artempyanykh
Copy link

artempyanykh commented Feb 11, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant