Package

purescript-debugger

Repository
paf31/purescript-debugger
License
MIT
Uploaded by
jhrcek
Published on
2018-10-17T19:31:59Z

A simple console debugger for PureScript functions

Usage

bower i purescript-debugger

The Debug module defines the Debug monad, which can be used to set breakpoints in pure functions.

The Debug.Console module defines the debug function which evaluates your function in an interactive console UI, allowing you to step, rewind and fast-forward evaluation at a breakpoint.

The following commands are available in the console debugger:

  • b - Step backwards
  • f - Step forwards
  • n - Step to next breakpoint
  • r - Restart
  • q - Quit