# `mix ecto_doctor.install`
[🔗](https://github.com/Daniel-Brai/ecto-doctor/blob/v0.0.1/lib/mix/tasks/ecto_doctor.install.ex#L1)

Sets Ecto Doctor up in your app.

    mix ecto_doctor.install

It only adds lines and prints what it couldn't do.

  * It turns on `stacktrace: true` for each repo in `config/dev.exs` and `config/test.exs`.
  * It attaches N+1 detection in `test/test_helper.exs`.
  * It scans every test from `test/support/data_case.ex` and `test/support/conn_case.ex`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
