hello
I am wondering what options there are for formatting i.e. more readable display when using inspect in EEX
i.e.
<%= inspect @current_user %>
- Are there any options I can pass to inspect?
- Does anyone have any CSS or browser side display tricks or tips?
1 Like
kip
2
If you h inspect
in iex
you’ll see that it takes options. The options themselves are documented in h Inspect.Opts
. Or linked here.
5 Likes
thanks, not seeing much difference tbh, will dig
<%= inspect @current_user, pretty: true %>