Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

[dev] Add debug annotations to liveview and ecto (#6102)

Uku Taht8954871eb022
diff --git a/config/dev.exs b/config/dev.exs
index 564dcb86a0..41d6c44f6b 100644
--- a/config/dev.exs
+++ b/config/dev.exs
@@ -31,3 +31,13 @@ config :plausible, paddle_api: Plausible.Billing.DevPaddleApiMock
config :phoenix, :stacktrace_depth, 20
config :phoenix, :plug_init_mode, :runtime
+
+config :plausible, Plausible.Repo, stacktrace: true
+config :plausible, Plausible.ClickhouseRepo, stacktrace: true
+config :plausible, Plausible.IngestRepo, stacktrace: true
+config :plausible, Plausible.AsyncInsertRepo, stacktrace: true
+
+config :phoenix_live_view,
+ debug_heex_annotations: true,
+ debug_attributes: true,
+ enable_expensive_runtime_checks: true