 
   def handle_in("onconnect", payload, socket) do
     # for debugging
-    if IEx.started?() do
+    Logger.debug(fn ->
       commander = Drab.get_commander(socket)
       modules = DrabModule.all_modules_for(commander.__drab__().modules)
 


          Examples:
      #{Enum.join(examples, "\n")}
      """)
    end

    session = Drab.Core.detokenize_store(socket, payload["drab_session_token"])
    socket = assign(socket, :__session, session)

      p = inspect(socket.assigns.__drab_pid)
      pid_string = ~r/#PID<(?<pid>.*)>/ |> Regex.named_captures(p) |> Map.get("pid")

      """

          Started Drab for #{socket.topic}, handling events in #{inspect(commander)}
          You may debug Drab functions in IEx by copy/paste the following:
