Interface ConfigDebugSection

Configures the debug output (currently only Web Developer Console in supported)

Hierarchy

  • ConfigDebugSection

Properties

dispatching?: {
    active?: boolean;
    callstack?: boolean;
    listeners?: boolean;
    queue?: boolean;
}

Type declaration

  • Optional active?: boolean

    Turn on/off generic the dispatchAction()-related diagnostics

  • Optional callstack?: boolean

    Set to true to find out which line of code caused dispatchAction() (and called reducer)

  • Optional listeners?: boolean

    Set to true to find out information about listeners (callbacks) that would get called when action gets dispatched

  • Optional queue?: boolean

    Set to true in order to investigate how action queue is changing

nonTrackedActions?: Record<string, boolean>

Configure to avoid printing to console a reducer was called for an action

The dictionary (JS-object) should be form of key: true, where key is the action name

reducer?: boolean

Set to true to display the most essential debug info:

  • what is the action called and its payload
  • what was the previous state
  • what is the next state
  • what attributes (paths) were changed by reducer
registration?: {
    container?: {
        callstack?: boolean;
        registering?: boolean;
        unregistering?: boolean;
    };
    listeners?: {
        callstack?: boolean;
        registering?: boolean;
        unregistering?: boolean;
    };
}

Type declaration

  • Optional container?: {
        callstack?: boolean;
        registering?: boolean;
        unregistering?: boolean;
    }

    Log container registration/de-registration

    • Optional callstack?: boolean

      Set to true to find out which line of code caused registration/unregistration

    • Optional registering?: boolean
    • Optional unregistering?: boolean
  • Optional listeners?: {
        callstack?: boolean;
        registering?: boolean;
        unregistering?: boolean;
    }

    Log listener registration/de-registration

    • Optional callstack?: boolean

      Set to true to find out which line of code caused registration/unregistration

    • Optional registering?: boolean
    • Optional unregistering?: boolean
warnings?: boolean

Generated using TypeDoc