debugging for server.