WP Manifestindependent plugin directory
manifest / developer / wp-cli-commands

Plugin Debugger Command

WP-CLI command to systematically deactivate and reactivate plugins for debugging

by Brian Coords · github.com/bacoords/wp-cli-commands

3stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/bacoords/wp-cli-commands/archive/refs/heads/main.zip

Readme

WP-CLI Commands

This repository contains a collection of WP-CLI commands that are useful for debugging and development.

How to use

For now, you can drop any of these files into your wp-content/mu-plugins directory.

Plugin Debugger

Cycle

This command cycles through all active plugins, deactivating and reactivating them one at a time.

wp plugin-debug cycle

Binary Search

This command uses a binary search approach to efficiently find problematic plugins by deactivating plugins in groups.

wp plugin-debug binary

Read the full README on GitHub →