debug for server