I have a liveview with handle_events() that is trying to match against a map key in the parameters it receives. I’d like to debug or print out exactly what params are being passed into this event but IO.inspect does not appear to do anything. If I use IO.inspect anywhere else in my application it works, so I assume it has something to do with the fact that handle_events are callback from a separate process or something.
Any tips so I can see what my handle events is receiving?
maybe it’s just a typo in your post, but it’s handle_event not handle_events. If that typo’s in your code then your callback will never run and the process will always crash looking for handle_event