NAME

GraphQL::Debug - debug GraphQL

SYNOPSIS

use GraphQL::Debug qw(_debug);
use constant DEBUG => $ENV{GRAPHQL_DEBUG};
DEBUG and _debug('current_function', $value1, $value2);

DESCRIPTION

Creates debugging output when called. Intended to have its calls optimised out when debugging not sought, using the construct shown above. The values given will be passed through "Dumper" in Data::Dumper.