Update server to work with multiple process
update debug events