import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { Scope } = Protocol.Debugger;
Scope description.
Properties
type: ()
| "global"
| "local"
| "with"
| "closure"
| "catch"
| "block"
| "script"
| "eval"
| "module"
| "wasm-expression-stack"
Scope type. (ScopeType enum)
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.
optional
startLocation: LocationLocation in the source code where scope starts
optional
endLocation: LocationLocation in the source code where scope ends