code: function () {
    next = false;
    // add listener to all next steps to provide next() functionality
    event.dispatcher.on(event.step.after, () => {
      recorder.add('Start next pause session', () => {
        if (!next) return;
        return pauseSession();
      });
    });
    recorder.add('Start new session', pauseSession);
  }
docs: Pauses test execution and starts interactive shell