New wfx_debug_report() function

New function to add message to error reporting if WP_DEBUG is true.