Skip to content

Instantly share code, notes, and snippets.

@raffecat
Created January 16, 2018 05:10
Show Gist options
  • Save raffecat/8b390ef9e9f6c7cced1ca39c3a702239 to your computer and use it in GitHub Desktop.
Save raffecat/8b390ef9e9f6c7cced1ca39c3a702239 to your computer and use it in GitHub Desktop.
defmodule InspectPlug do
@behaviour Plug
def init(opts), do: opts
def call(conn, opts), do: IO.inspect(conn, opts)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment