{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/elm-reactor/issues/36","labels_url":"https://api.github.com/repos/elm-lang/elm-reactor/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-reactor/issues/36/comments","events_url":"https://api.github.com/repos/elm-lang/elm-reactor/issues/36/events","html_url":"https://github.com/elm-lang/elm-reactor/issues/36","id":41214729,"number":36,"title":"Enable input ports","user":{"login":"ThomasWeiser","id":3869947,"avatar_url":"https://avatars.githubusercontent.com/u/3869947?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWeiser","html_url":"https://github.com/ThomasWeiser","followers_url":"https://api.github.com/users/ThomasWeiser/followers","following_url":"https://api.github.com/users/ThomasWeiser/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWeiser/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWeiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWeiser/subscriptions","organizations_url":"https://api.github.com/users/ThomasWeiser/orgs","repos_url":"https://api.github.com/users/ThomasWeiser/repos","events_url":"https://api.github.com/users/ThomasWeiser/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWeiser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-08-26T20:03:15Z","updated_at":"2015-04-30T15:19:26Z","closed_at":null,"body":"Assume we need a port for JS-interop, that sends values from JS to an Elm port.\r\nThe port needs to be declared to the function `Elm.fullscreen (module, ports)`.\r\n\r\nTo use the debugger of elm-reactor this function gets replaced by\r\n`Elm.debugFullscreen (module, moduleFile, hotSwapState)`.\r\nSo we cannot declare any input port.\r\n\r\nEvan [pointed out](https://groups.google.com/d/msg/elm-discuss/yXXC-_6wztw/ovfrODnRhgwJ) that it may be tricky while replaying old stuff. I guess, input ports should be handled the same way as builtin input like mouse or keyboard data. Output ports on the other hand should probably not send values out during replay."},"comment":{"url":"https://api.github.com/repos/elm-lang/elm-reactor/issues/comments/97836193","html_url":"https://github.com/elm-lang/elm-reactor/issues/36#issuecomment-97836193","issue_url":"https://api.github.com/repos/elm-lang/elm-reactor/issues/36","id":97836193,"user":{"login":"rehno-lindeque","id":337811,"avatar_url":"https://avatars.githubusercontent.com/u/337811?v=3","gravatar_id":"","url":"https://api.github.com/users/rehno-lindeque","html_url":"https://github.com/rehno-lindeque","followers_url":"https://api.github.com/users/rehno-lindeque/followers","following_url":"https://api.github.com/users/rehno-lindeque/following{/other_user}","gists_url":"https://api.github.com/users/rehno-lindeque/gists{/gist_id}","starred_url":"https://api.github.com/users/rehno-lindeque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rehno-lindeque/subscriptions","organizations_url":"https://api.github.com/users/rehno-lindeque/orgs","repos_url":"https://api.github.com/users/rehno-lindeque/repos","events_url":"https://api.github.com/users/rehno-lindeque/events{/privacy}","received_events_url":"https://api.github.com/users/rehno-lindeque/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T15:19:26Z","updated_at":"2015-04-30T15:19:26Z","body":"I'd like to bump this issue now that 0.15 is released - I find elm-reactor nearly indispensable for debugging. I've been dragging along https://github.com/elm-lang/elm-reactor/pull/63 through the upgrade to 0.14 because it was so useful to be able to supply some initial ports for debugging. However, it's pretty tricky to reapply it every time Elm upgrades. Would it be possible to look at this for the next release?\r\n"}}