I am following the user-guide for package developing: https://www.haskell.org/cabal/users-guide/developing-packages.html#quickstart
I got stuck in the Flags
Flags
Pass the flags to cabal configure, e.g.:
cabal configure
cabal configure -f debug