Packages
ex_debug_toolbar
0.4.3
A debug web toolbar for Phoenix projects to display all sorts of information about request
Current section
Files
Jump to
Current section
Files
lib/mix/tasks/breakpoint.client.ex
defmodule Mix.Tasks.Breakpoint.Client do
@moduledoc false
use Mix.Task
alias ExDebugToolbar.Breakpoint
def run(args) do
{options, _, _} = OptionParser.parse(args, switches: [breakpoint: :string])
breakpoint = options |> Keyword.fetch!(:breakpoint_file) |> File.read! |> Breakpoint.unserialize!
ExDebugToolbar.Breakpoint.ClientNode.run(breakpoint)
end
end