Debugging
Brad Williams, Justin Tadlock, John James Jacoby
Abstract
Brad Williams, Justin Tadlock, John James Jacoby
Abstract
This chapter presents the basic tools available, providing the reader with a look into the debugging features that WordPress specifically provides. It discusses compatibility of plugins with whatever kind of WordPress installation they get activated on and debugging of plugins and WordPress as well as all of the other plugins and themes that are installed and active at the time when something has gone wrong. The chapter outlines the steps to be followed for debugging: enabling debugging and displaying debug output. WordPress offers another useful tool for debugging, namely, error logging, which is useful for debugging issues with plugins because it logs every error to a file on the server allowing the developer to easily read through all of the issues at once. The chapter also discusses query monitor plugin, which enables debugging of database queries, PHP errors, actions and filters, block editor blocks, enqueued scripts and stylesheets, HTTP API calls, and more.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
This chapter presents the basic tools available, providing the reader with a look into the debugging features that WordPress specifically provides. It discusses compatibility of plugins with whatever kind of WordPress installation they get activated on and debugging of plugins and WordPress as well as all of the other plugins and themes that are installed and active at the time when something has gone wrong. The chapter outlines the steps to be followed for debugging: enabling debugging and displaying debug output. WordPress offers another useful tool for debugging, namely, error logging, which is useful for debugging issues with plugins because it logs every error to a file on the server allowing the developer to easily read through all of the issues at once. The chapter also discusses query monitor plugin, which enables debugging of database queries, PHP errors, actions and filters, block editor blocks, enqueued scripts and stylesheets, HTTP API calls, and more.
Key concepts: Debugging, Plug-in, Computer science, Scripting language, Programming language, Background debug mode interface, Operating system, World Wide Web