When I run Elixir code with my debugger, Pry, then it always confronts me with Allow? [Yn]
No, you cannot provide an option to allow without manual confirmation.
The confirmation is a reused component of IEx, any terminal takeover messages (:take
) require user confirmation. This take over flow also happens in IEx.pry/0
.
As for why this is the case, I am not sure. I would assume it is a security measure. However, the confirmation simply safeguards IEx.evaluator.run/4
, which does not seem to be an obvious attack vector.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With