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.