Add debugging option for logging information to the check server

@santoch 
Set debug_output to true to get debug information from the server.