This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
An experimental debugger for Elm
version 2.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.0.0
Committed At 2016-12-01 16:17:10 UTC
jinjor/elm-inline-hover 1.0.0 <= v < 2.0.0 1.0.2
jinjor/elm-diff 1.0.0 <= v < 2.0.0 1.0.5
elm-lang/svg 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/navigation 2.0.0 <= v < 3.0.0 2.1.0
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1
elm-community/elm-material-icons 2.0.0 <= v < 3.0.0 2.0.1
Bogdanp/elm-combine 3.0.0 <= v < 4.0.0 3.1.1

README

elm-time-travel

Build Status

An experimental debugger for Elm. See DEMO

How to use

Just use TimeTravel.program instead of Html.program.

import TimeTravel.Html as TimeTravel

main =
  -- Html.program
  TimeTravel.program
    { init = init
    , view = view
    , update = update
    , subscriptions = subscriptions
    }

That's it!

What is this library for?

Elm has a great official debugger from 0.18, but this debugger was born at 0.17! These two are focusing on slightly different things. The official one focuses on reproducing state and communicating between dev and QA people. This one, on the other hand, is more focusing on digging into problems that happen in runtime.

This library implements following features:

  • Filtering Msgs
  • Filtering Model
  • Figure out how Msgs are chaining

And the ideas not implemented yet are:

  • Watch partial Model and find Msgs that changes it
  • Automatically save debugger state

So this library is a PoC of what the official debugger can potentially be in the future. Evan is also positive at this :)

LICENSE

BSD3