code: async def debug(self, conn_id, name, cmd_args):
          
  
          progress_callback = functools.partial(_on_progress, self, 'debug', conn_id)
  
          resp = await self._execute(self._adapter.debug_sync, conn_id, name, cmd_args, progress_callback)
          _raise_error(conn_id, 'send_rpc', resp)
  
          return resp.get('return_value')
docs: Send a debug command to a device.
  
          See :meth:`AbstractDeviceAdapter.debug`.