WordPress Developer Ukraine, Kyiv
WordPress Development Workflow: Using wp-env with Xdebug and PhpStorm

WordPress Development Workflow: Using wp-env with Xdebug and PhpStorm

Debug WordPress with wp-env, Xdebug and PhpStorm @wordpress/env (wp-env) starts a complete WordPress development environment in Docker with one command, with the current plugin or theme mounted inside. It also has Xdebug built in: one flag enables it, and PhpStorm (or VS Code) can then stop at breakpoints in your plugin, step through the code…
WordPress Debug Logging and Developer Tooling Workflow

WordPress Debug Logging and Developer Tooling Workflow

A WordPress debugging setup per environment Debug settings are toggled in wp-config.php by hand, forgotten on, and then a production site shows notices to visitors or fills a public debug.log. A small setup decides everything from the environment type: on local and staging, full logging into a private file and visible errors where useful; on…
Query Monitor: Diagnosing Slow Queries and Hooks in WordPress

Query Monitor: Diagnosing Slow Queries and Hooks in WordPress

Query Monitor: find what makes a WordPress page slow A slow page has a cause somewhere between the database, PHP code, hooks and external HTTP requests. Query Monitor is a free debugging plugin that shows all of this for the current request in a panel under the admin bar: every database query with its time…