Add optional internal debugging print statements. When completion fails, don't attempt to parse the output.