Add history/trace functionality to the GHCi debugger