puppeteer/new-docs/puppeteer.protocol.debugger.scope.md
2020-07-13 14:01:35 +01:00

1.4 KiB

Home > puppeteer > Protocol > Debugger > Scope

Protocol.Debugger.Scope interface

Scope description.

Signature:

export interface Scope 

Properties

Property Type Description
endLocation Location Location in the source code where scope ends
name string
object Runtime.RemoteObject 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.
startLocation Location Location in the source code where scope starts
type ('global' | 'local' | 'with' | 'closure' | 'catch' | 'block' | 'script' | 'eval' | 'module' | 'wasm-expression-stack') Scope type.