I am new to Elixir / Phoenix and I was wondering if there is a way to require IEx essentially require IEx in the same way as in Ruby / Rails you can add something like
group :test, :development do gem 'pry', require: 'pry' end
which will allow you binding.pry essentially in any file without having to include require 'pry'
I find that I need require IEx on any controller, model, view, etc. I want to debug to be tedious.
source share