add debug logging for worker