puppeteer/new-docs/puppeteer.protocol.debugger.scope.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

1.5 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. (ScopeType enum)