Hi there,

A friend of mine asked me how to IEx.pry inside of a pipeline, I said there 
is no builtin functionality for this, so I sent him this code:

defmodule Debugger do
  def pipry(value) do
    require IEx

    IEx.pry()

    value
  end
end

It worked for him, but I wonder if such functionality should be builtin 
into the language, something like a `IEx.pry/1` or `IEx.pipe_pry/1` 
function.

What do you guys think? If this sounds like a good feature for the 
language, I would love to hear your input so I can give it a go and submit 
a PR.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/f5e0ca6e-6ec2-44b9-b6d5-535996b295df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to