Added cabal flag to enable debug logs.