debug ws msg leads to process ends