Add first tip

This commit is contained in:
Daniel Flanagan 2023-06-26 13:20:16 -05:00
parent 7631a68d9a
commit c139163a91
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
I love `iex -S mix ...` but I usually don't like when `dbg` asks me to `pry`.
Just show me my data! Well, today I learned about `iex --no-pry`:
```bash
$ iex --help
Usage: iex [options] [.exs file] [data]
... (snip)
--no-pry Doesn't start pry sessions when dbg/2 is called.
```
Now I can `iex --no-pry -S mix ...` and just see output instead of dealing with
the prompts for `pry`ing! Not sure if anybody else felt this pain, but there
ya go.