You just add `trace`. It's not hard.

https://wiki.haskell.org/Debugging