# Dbg

dbg_inspect provides `Dbg.inspect/2` macro, which is an extended version of `IO.inspect/1` function for the debug purposes.

## Additional Features

* Print representation of expression passed as the first argument
* Print file name and line number where `Dbg.inspect/2` was called
* Ability to print values of all variables used in the expression passed as the first argument
* Colored output
* Output to :stderr stream
* No affects `prod` enviroment

## Example

  list = [1, 2, 3]
  zero = 0

  |>{&1, to_string(&1 * &1)})
  |> Enum.into(%{})
  |> Map.put(zero, to_string(zero))
  |> Dbg.inspect(show_vars: true)

## Installation

If [available in Hex](, the package can be installed
by adding `dbg` to your list of dependencies in `mix.exs`:

def deps do
    {:dbg_inspect, "~> 0.1.0"}

Documentation can be generated with [ExDoc](
and published on [HexDocs]( Once published, the docs can
be found at [](