ProcessDebugPageFields by Robert Weiss

Module to help debug page fields in a readable manner.

Debug Page Fields

Processwire module to debug page fields in a readable manner


Adds two new properties to all pages:

  • $page->debugFieldValues – returns an object with all (sub-)fields, their labels, fieldtypes and values in a readable manner
  • $page->debugFieldTypes – returns an object with all fieldtypes and their corresponding fields

Both properties are best to be used in combination with debugging tools like Tracy Debugger or Ray

Supported fieldtypes


  • Button
  • Checkbox
  • Color
  • Combo
  • Datetime
  • Decimal
  • Email
  • FieldsetPage *
  • File
  • FontIconPicker
  • Functional
  • Image
  • ImageReference
  • MapMarker
  • Multiplier
  • Mystique
  • Options
  • Page
  • PageIDs
  • PageTitle
  • Radio
  • Repeater *
  • RepeaterMatrix *
  • RockAwesome
  • SeoMaestro
  • Table
  • Text
  • Textarea
  • Textareas
  • Toggle
  • URL

* The fields with complete subfield-support also list their corresponding subfields.

If Ray is found in the project (aka the class Spatie\Ray\Ray is loaded), three additional methods will be added to the ray() function:

  1. ray()->page($optionalParameter): the Parameter variable can be used as following:
    • None: get infos of the current page
    • Page ID: get page infos via the page ID
    • Page object: get page infos via a $page variable
    • Field name: get debug infos of a specific field from the current page by providing its name
  2. ray()->pages($mandatoryParameter): the Parameter variable can be used as following:
    • Selector: Provide a selector string to find the corresponding pages
    • Pages Object
  3. ray()->config($optionalParameter): the Parameter variable can be used as following:
    • None: get all config properties
    • Property name: get only the value of the provided property

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #559
    The 559th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
    Weekly.pw / 25 January 2025
  • ProcessWire 3.0.244 new main/master version
    ProcessWire 3.0.244 is our newest main/master/stable version. It's been more than a year in the making and is packed with tons of new features, issue fixes, optimizations and more. This post covers all the details.
    Blog / 18 January 2025
  • Subscribe to weekly ProcessWire news

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits