code: def on_continue_request(self, py_db, request):
          '''
          :param ContinueRequest request:
          '''
          arguments = request.arguments  # : :type arguments: ContinueArguments
          thread_id = arguments.threadId
  
          def on_resumed():
              body = {'allThreadsContinued': thread_id == '*'}
              response = pydevd_base_schema.build_response(request, kwargs={'body': body})
              cmd = NetCommand(CMD_RETURN, 0, response, is_json=True)
              py_db.writer.add_command(cmd)
  
          # Only send resumed notification when it has actually resumed!
          # (otherwise the user could send a continue, receive the notification and then
          # request a new pause which would be paused without sending any notification as
          # it didn't really run in the first place).
          py_db.threads_suspended_single_notification.add_on_resumed_callback(on_resumed)
          self.api.request_resume_thread(thread_idf on_continue_request(self, py_db, request):
          '''
          :param ContinueRequest request:
          '''
          arguments = request.arguments  # : :type arguments: ContinueArguments
          thread_id = arguments.threadId
  
          def on_resumed():
              body = {'allThreadsContinued': thread_id == '*'}
              response = pydevd_base_schema.build_response(request, kwargs={'body': body})
              cmd = NetCommand(CMD_RETURN, 0, response, is_json=True)
              py_db.writer.add_command(cmd)
  
          # Only send resumed notification when it has actually resumed!
          # (otherwise the user could send a continue, receive the notification and then
          # request a new pause which would be paused without sending any notification as
          # it didn't really run in the first place).
          py_db.threads_suspended_single_notification.add_on_resumed_callback(on_resumed)
          self.api.request_resume_thread(thread_id)
docs: :param ContinueRequest request: