Module

Debug.Console

Package
purescript-debugger
Repository
paf31/purescript-debugger

#debug Source

debug :: forall eff a. Show a => Debug a -> Eff (console :: CONSOLE, exception :: EXCEPTION, readline :: READLINE | eff) Unit

Run a debug session in the console

Re-exports from Control.Monad.Eff.Console

#CONSOLE Source

data CONSOLE :: Effect

The CONSOLE effect represents those computations which write to the console.

Re-exports from Control.Monad.Eff.Exception

#EXCEPTION Source

data EXCEPTION :: Effect

This effect is used to annotate code which possibly throws exceptions

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

Re-exports from Node.ReadLine

#READLINE Source

data READLINE :: Effect

The effect of interacting with a stream via an Interface