purescript-debug
purescript-debug copied to clipboard
Console based debugging functions
# Spy with a Predicate Currently, Debug has spyWith, which is fantastic for formatting what you're spying on. ```purescript spyWith :: forall a b. DebugWarning => String -> (a ->...
Has to be used as `(???)`, but works.
When working with ES modules node doesn't support `require`, we don't have the ability to have an output using `util.inspect`. Not sure how to fix it best way, to have...
Add spyM
I feel like this is actually the most useful one. So it's even more surprising that it's missing 😅 ```purs spyM :: forall m a. DebugWarning => Monad m =>...
Hi, this is a feature request to document `traceM` with a code example. I'm not sure of the best practices for when/how to use it. https://pursuit.purescript.org/packages/purescript-debug/6.0.2/docs/Debug#v:traceM