in your wp-config.php file rather than the usual
define('WP_DEBUG', true);
replace with
require_once('wp-content/plugins/debug-me/debug.inc.php');
or wherever it's supposed to be located. Then you can test code using the _log
function.
Activate the plugin only to test the logging function above, otherwise it can remain disabled.