Updated SendDebug func. to copy serverside.