When you run .fsx with the fsi.exe file, is the code compiled interactively in debug or release mode?
Because I did fsi.exe --debug test.fsx and still prints "release".
test.fsx:
...
#if DEBUG
do printf "debug"
#else
do printf "release"
#endif
...
Did I miss something? Thank!
source
share