Skip to content

Commit 727a958

Browse files
committed
Clarify --no-pry vs --dbg pry
1 parent aa93d65 commit 727a958

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/iex/lib/iex.ex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,9 +582,6 @@ defmodule IEx do
582582
@doc """
583583
Pries into the process environment.
584584
585-
When you start `iex`, IEx will set this function to be the
586-
default `dbg/2` backend unless the `--no-pry` flag is given.
587-
588585
This function is useful for debugging a particular chunk of code
589586
when executed by a particular process. The process becomes
590587
the evaluator of IEx commands and is temporarily changed to
@@ -600,6 +597,11 @@ defmodule IEx do
600597
601598
See also `break!/4` for others ways to pry.
602599
600+
> #### `dbg/0` integration
601+
>
602+
> By calling `iex --dbg pry`, `iex` will set this function
603+
> as the default backend for `dbg/0` calls.
604+
603605
## Examples
604606
605607
Let's suppose you want to investigate what is happening

0 commit comments

Comments
 (0)