Added detailed debug output in single run mode