/config/dev.exs
config :logger, level: :info
-
.iex.exs
Logger.configure(level: :info)
import Ecto.Query
-
add a lable to the debug data
IO.inspect(variable, label: "The content)
-
add format to the content
IO.inspect(variable, pretty: true)
-
avoid truncated data
IO.inspect(variable, limit: :infinity)