mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.4 KiB
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. |