Debugger.Scope
Scope description.
{
"id": "Scope",
"type": "object",
"properties": [
{
"name": "type",
"type": "string",
"enum": [
"global",
"local",
"with",
"closure",
"catch",
"block",
"script",
"eval",
"module",
"return"
],
"description": "Scope type."
},
{
"name": "object",
"$ref": "Runtime.RemoteObject",
"description": "Object representing the scope. For global
and with
scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties."
},
{
"name": "name",
"type": "string",
"optional": true
},
{
"name": "startLocation",
"$ref": "Location",
"optional": true,
"description": "Location in the source code where scope starts"
},
{
"name": "endLocation",
"$ref": "Location",
"optional": true,
"description": "Location in the source code where scope ends"
}
],
"description": "Scope description."
}