WP Debug Toolkit (WPDT) provides controls to install, remove, repair, and redeploy the standalone viewer. You can manage the viewer from the WordPress admin dashboard or through WP-CLI.
Go to Debug Toolkit > Settings > Viewer. The setup wizard walks you through:
wpdebugtoolkit)WPDT copies the viewer files to your web root (e.g., /wpdebugtoolkit/), generates config.php with your site’s paths, and writes the password hash to auth.php.
wp dbtk viewer setup --password=your-secure-password
This runs the same installation process non-interactively. The viewer is ready to use at the URL shown in the output.
Go to Debug Toolkit > Settings > Viewer and click Remove Viewer. This deletes the viewer directory from the web root.
Removal does not delete plugin settings or the saved password from the WordPress database. If you reinstall later, WPDT can reuse the existing password.
wp dbtk viewer remove
After a server migration, hosting change, or manual file transfer, the viewer directory may have incorrect file permissions. This can cause 403 errors or prevent the API from reading log files.
Go to Debug Toolkit > Settings > Viewer and click Repair Viewer. WPDT resets permissions across the viewer directory:
07550644This matches the standard WordPress file permission scheme.
When you update the WPDT plugin, the viewer files on the web root may be outdated. The React app, api.php, and supporting PHP files in the plugin package may include bug fixes, new features, or security patches that the deployed copy does not have.
To update the deployed viewer, simply reinstall the app from the WP Debug Toolkit > Overview Page. WPDT copies fresh files to the web root.
wp dbtk viewer status
Example output:
+-------------------+--------------------------------------------+
| Field | Value |
+-------------------+--------------------------------------------+
| Installed | Yes |
| URL | https://example.com/wpdebugtoolkit/ |
| Password set | Yes |
+-------------------+--------------------------------------------+
This shows whether the viewer is installed, its URL, and whether password protection is configured.
WPDT adds a viewer permissions check to WP Debug Toolkit > Site’s Health. The check verifies that the viewer directory exists and has correct file permissions. If permissions are wrong, Site Health reports the issue with a recommendation to use the Repair Viewer function.