| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
HIE.Bios.Internal.Debug
Documentation
debugInfo :: Show a => FilePath -> Cradle a -> IO String Source #
Obtain debug information for a Cradle.
Tries to load the Cradle and dump any information associated with it.
If loading succeeds, contains information such as the root directory of
the cradle, the compiler options to compile a module in this Cradle,
the file dependencies and so on.
Otherwise, shows the error message and exit-code.