Long DEBUG session without restarting workflow

Hi. I am newby in Temporal.
I use kotlin. I need to debug my activity with long sessions step by step.
But I get a restarting the workflow with:

sticky_attributes {
  worker_task_queue {
    name: "14412@lap-msi:b9af1947-a9bd-438b-b204-730da267508f"
    kind: TASK_QUEUE_KIND_STICKY
  }
  schedule_to_start_timeout {
    seconds: 5
  }
}

I added TEMPORAL_DEBUG=true at ENV but it does not help me.
How is it possible to configure debug session (Testing) for long debugging?