I guess the problem is that you are trying to apply Debug.watch on a Signal, but it is meant for being applied to simple values (typically inside signals). Try this variant of your code:
main : Signal Html
main = Signal.map (\m -> view actions.address (Debug.watch "UIModel:" m)) model
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Or, if you prefer (and being syntactically closer to your original version):
main : Signal Html
main = Signal.map (view actions.address) (Debug.watch "UIModel:" <~ model)
Would my proposed change to the documentation of Debug.watch in this pull request have saved you some trouble?
Thanks : )