A quick look at LiveDebugger! 🤯

Notes

I finally had a chance to check out LiveDebugger, and it’s awesome!

It’s definitely going to be one my new defaults.

Installation

I followed the simplest path for installation in the README. There are more configuration options, but I just had to add the package to my mix.exs file:

  defp deps do
    [
      {:live_debugger, "~> 0.2.0", only: :dev}
    ]
  end

And include the LiveDebugger tags in my root layout:

  # lib/my_app_web/components/layouts/root.html.heex

  <head>
    <%= Application.get_env(:live_debugger, :live_debugger_tags) %>
  </head>

Once you launch your Phoenix app, you should be able to find the LiveDebugger in http://localhost:4007 by default. Go check it out!

Want the latest Elixir Streams in your inbox?

    No spam. Unsubscribe any time.