Debugger.GeneratorObjectDetails

Information about the generator object.

{
  "id": "GeneratorObjectDetails",
  "hidden": true,
  "type": "object",
  "properties": [
    {
      "name": "function",
      "$ref": "Runtime.RemoteObject",
      "description": "Generator function."
    },
    {
      "name": "functionName",
      "type": "string",
      "description": "Name of the generator function."
    },
    {
      "name": "status",
      "type": "string",
      "enum": [
        "running",
        "suspended",
        "closed"
      ],
      "description": "Current generator object status."
    },
    {
      "name": "location",
      "$ref": "Location",
      "optional": true,
      "description": "If suspended, location where generator function was suspended (e.g. location of the last 'yield'). Otherwise, location of the generator function."
    }
  ],
  "description": "Information about the generator object."
}