interface Debugger.Scope
Usage in Deno
import { type Debugger } from "node:inspector"; type { Scope } = Debugger;
Scope description.
type: string
Scope type.
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
name: string | undefined
optional
startLocation: Location | undefined
Location in the source code where scope starts
optional
endLocation: Location | undefined
Location in the source code where scope ends