debugging stdout in client