diff --git a/content/tips/iex-dbg-pry.md b/content/tips/iex-dbg-pry.md new file mode 100644 index 0000000..87fd0b8 --- /dev/null +++ b/content/tips/iex-dbg-pry.md @@ -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. \ No newline at end of file