Bun

interface

inspector.Debugger.Scope

interface Scope

Scope description.

  • endLocation?: Location

    Location in the source code where scope ends

  • name?: string
  • object: RemoteObject

    Object representing the scope. For <code>global</code> and <code>with</code> 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: string

    Scope type.