debug ws