Skip to main content
Debugger.Scope - inspector - Node documentation
interface Debugger.Scope

Usage in Deno

import { Debugger } from "node:inspector";

Scope description.

Properties

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