Debug IEX

30-03-2019

add to your module the line

require IEx

and in your function add the line

IEx.pry

like this

defmodule Redfour.Shopping do
require IEx

def hello do
        IEx.pry
        :world
  end
end

Back