Wobserver How to disable and enable?

Hi everyone,

  1. How can i set a param to enable/disable Wobserver monitor?
    same with code_reloading to set true/false. If true will enable, false set disable.
  2. How can i set a param to deps Phoenix.Endpoint?

use Phoenix.Endpoint
if code_reloading? do
socket “/phoenix/live_reload/socket”, Phoenix.LiveReloader.Socket
plug Phoenix.CodeReloader
plug Phoenix.LiveReloader