Today I Learned : Elixir - How to pretty print a struct Use the pretty option with inspect() as below. inspect(data, pretty: true)