1. Send important information to the log file 2. Move to PHP Constant to enable debug mode (use existing WP_DEBUG constant?)