Controls debug mode for the search form. When set to true, detailed debug information will be generated on the results page. The debug output contains the following:
- Errors: If any errors were encountered during the initialization of your search, they will be listed along with their stack traces.
- WP_Query Arguments: A var dump of the WP_Query arguments generated by your search
- MySQL Query: The full MySQL query that was executed to obtain your results. This query is automatically generated by WordPress directly from the WP_Query object.
When the parameter ‘debug_level‘ is set to ‘verbose’, the output will also contain a full var dump of the entire WP_Query object generated by the search.