Added debug output to help troubleshoot new api server