Debug

Description

Simple utility for development puproses that prints a variable. Can become useful when you get lost in the scopes madness.

Usage

Options

@ open
can be used to determine the initial state (open or not) of the debug widget
= debugged
can be used to pass the variable to debug
= extended
Indicate that additional info box should be displayed
= extension-name
Define a label displayed on top of extended information
= extended-info
variable containing extended information value

Examples

Default usage

          <div
            cam-widget-debug
            debugged="varToDebug">
          </div>
        

Extended usage

            <div
              cam-widget-debug
              extended
              extension-name="test"
              extended-info="info"
              debugged="varToDebug">
            </div>