This plugin sets the following debug constants in wp-config php on plugin activation and removes them on plugin deactivation.
Default settings define define define @ini set is set when the plugin is active.
`WP DEBUG` is set to true when the plugin is first run, thereafter it can be turned off in Settings..
The Settings page allows the user to set the following. define Default on initial plugin installation define Default when not declared is true define WordPress 5.2 WSOD Override..
When the plugin is deactivated best efforts are made to re-add pre-existing constants to their former state.
When the plugin is activated the default settings and any saved settings are restored..
Debug Quick Look from Andrew Norcross is included with this plugin to in reading the debug log file.
Query Monitor and Debug Bar plugins are optional dependencies to aid in debugging and troubleshooting.
If you have location for your wp-config php file you can use the filter wp debugging config path to return the path for your installation..
PRs are welcome against the branch on GitHub...
Read more