TRADITIONAL | HEADLESS |
---|---|
WP_DEBUG_DISPLAY |
π Enable WPGraphQL Debug Mode & inspect response errors |
die() / wp_die() / var_dump() |
π wp_send_json() or Enable GraphQL Debug Mode and use graphql_debug() |
Postman/REST client | π Enable GraphiQL IDE |
WP_DEBUG_LOG |
π Still works! |
Xdebug on page load | π Xdebug triggered by GraphiQL request in the wp-admin |
Query Monitor | π Enable GraphQL Query Logs |
NewRelic/Profiling tools | π Enable GraphQL Tracing |
Created
January 12, 2021 01:59
-
-
Save kellenmace/73c6fb405c5462fe981eb09bf632c91f to your computer and use it in GitHub Desktop.
Traditional vs. Headless WordPress Debugging Methods
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment