Module

Debug

Package
purescript-debugger
Repository
paf31/purescript-debugger

#Debug Source

data Debug a

A monad for debugging pure functions

Instances

#Watch Source

data Watch a

A monad for collecting watches

Instances

#runWatch Source

runWatch :: forall a. Watch a -> List (Tuple String String)

Get the list of watches.

#resume Source

resume :: forall a. Debug a -> Either a (Tuple (Watch Unit) (Debug a))

Run the first step of a Debug session.

#break Source

break :: Watch Unit -> Debug Unit

Define a breakpoint with the specified array of watches

#watch Source

watch :: forall a. Show a => String -> a -> Watch Unit

Define a watch