DiviArea.Debug.verbose()

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Functions
  6. DiviArea.Debug.verbose()
DiviArea.Debug.verbose(...args)
Output debug info in the JS console, when JS verbose debugging is enabled

Params

args
(mixed, optional) Data to display in the JS console.

Returns

The function does not return anything.

Examples

// Test the debug output; initially you will see nothing.
DiviArea.Debug.verbose('First verbose message');

// Enable verbose debugging in JS.
DiviAreaConfig.debug = true;
DiviAreaConfig.debugVerbose = true;

// Test the debug output again.
DiviArea.Debug.verbose('Second verbose message');

Notes

This method does nothing when JS verbose debugging is disabled. There is no flag to enable or disable verbose debugging, it can only be enabled via JavaScript (see the sample above).

https://developer.mozilla.org/en-US/docs/Web/API/Console/debug

Was this article helpful?

Related Articles