Add client side debug flag and messages.