I often had the need for an overview of all used fields and their contents for a specific page/template while developing new websites without switching to the backend, so I made a small module which lists all the needed information in a readable manner (at least for me):
Debug Page Fields
https://github.com/robertweiss/ProcessDebugPageFields
It adds two new properties to all pages:
$page->debugFieldValues – returns an object with all (sub-)fields, their labels, fieldtypes and values
$page->debugFieldTypes – returns an object with all fieldtypes and their corresponding fields
// List all values of a pages
$page->debugFieldValues
// List a specific field
$page->debugFieldValues->fieldname
// List all used fieldtypes of a page
$page->debugFieldTypes
I recommend using it in combination with Tracy Debugger, Ray, Xdebug etc. as it returns an object and is only meant for developing/debugging uses.
For now, the fieldtype support includes mostly fieldtypes I use in my projects, but can easily be extended by adding a new FieldtypeFIELDNAME method to the module. I use it with five different client installations (all PW 3.0.*), but of course there might be some (or more) field configurations which are not covered correctly yet.
Supported fieldtypes
Button
Checkbox
Color
Combo
Datetime
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.
Installation
Download the zip file at Github or clone the repo into your site/modules directory.
If you downloaded the zip file, extract it in your sites/modules directory.
In your admin, go to Modules > Refresh, then Modules > New, then click on the Install button for this module.
As this is my first ›public‹ module, I hope I did not miss any important things to mention here.