0

Just wondering what people use for debugging in the customizer?

I use BugFu, Debug Bar and Query Monitor along with Simply Hooks for theme development, but only Bugfu works in customizer and that is not the kind of debugging I need to do.

I tried using this plugin: Customizer Dev Tools however, it does not seem to work with the current version of Wordpress.

I am new to theme development, and I have jumped into developing a child theme using the Theme Customizer.

1 Answer 1

0

It turns out Query Monitor is, in fact, present in Customizer view. For some reason, I never once scrolled down to the bottom (or just didn't pay attention). Just the debug/admin bar is not visible.

Also, you can do this to get the admin bar in theme customizer:

add_filter('show_admin_bar', '__return_true');

Source

Another useful tool is WP Customizer Dev Tools (at this writing, it's only upgraded for up to WP 4.9 on the Git branch. The wordpress.org plugin is outdated)

Keep in mind, Debug Bar and Query Monitor especially can slow down the Theme Customizer tremendously.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.