Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Debugging tools #3

Open
TeemuSuoranta opened this issue Aug 9, 2018 · 0 comments
Open

Enhancement: Debugging tools #3

TeemuSuoranta opened this issue Aug 9, 2018 · 0 comments
Assignees

Comments

@TeemuSuoranta
Copy link
Member

This plugin should give some way to debug queries to API because building JS args is hard.

Simple solution could be when WP_DEBUG is true:

  • Take $args before query and send them to header x-debug-args-before
  • Take WP_Query->query_vars and send them to header x-debug-args-after
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant