fixing a bug to call ghc-mod twice.
defining ghc-debug.