DOKK / manpages / debian 12 / libgraphql-perl / GraphQL::Debug.3pm.en
GraphQL::Debug(3pm) User Contributed Perl Documentation GraphQL::Debug(3pm)

GraphQL::Debug - debug GraphQL

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

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.

2022-03-27 perl v5.34.0