debug messages for WS diagnosing