Added debug statements to WorkerServer