Iex --no-pry not working in elixir 1.15

Since I’ve updated to elixir 1.15 it looks like iex does not support the --no-pry argument anymore, although the docs claim it’s still supported. For example:

> iex --no-pry -S mix
No file named --no-pry

Should I create a github issue for this or am I doing something wrong?

Using:

Erlang/OTP 26 [erts-14.0.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Elixir 1.15.2 (compiled with Erlang/OTP 26)

I will improve the docs, thank you.

To answer your questions directly, --no-pry is now the default, as people were unhappy with the previous behaviour. You can do iex --dbg pry to enable it now.

3 Likes

@josevalim is it possible to configure the --dbg pry option via my .iex.exs?

Maybe you can set the application environment? Because all it does is to configure the dog backend, as explained in dbg docs (on my phone, so no links, sorry!).