MarkupQA::debug()

Get or set debug status

Applies only if current user is a superuser

Usage

// basic usage
$bool = $markupQA->debug();

// usage with all arguments
$bool = $markupQA->debug($set = null);

Arguments

NameType(s)Description
$set (optional)bool null

Omit this argument to get or specify bool to set

Return value

bool


MarkupQA methods and properties

API reference based on ProcessWire core version 3.0.251