Module

Debug.Console

Package
purescript-debugger
Repository
paf31/purescript-debugger

#debug Source

debug :: forall a. Show a => Debug a -> Effect Unit

Run a debug session in the console

Re-exports from Debug

#Watch Source

data Watch a

A monad for collecting watches

Instances

#Debug Source

data Debug a

A monad for debugging pure functions

Instances

#watch Source

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

Define a watch

#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