debugging elixir/phoenix tests

Developer from somewhere

iex -S mix test path/to/your/test.exs

Also make sure that you have the proper require in your test:

defmodule YourApp.YourTest do
  use ExUnit.Case

  require IEx

  # in case 60s is not enough
  @tag timeout: 120000
  test "it should work" do
    # whatever
    IEx.pry
    # inspect
  end
end