Bun

interface

inspector.Debugger.ScriptParsedEventDataType

interface ScriptParsedEventDataType

  • endColumn: number

    Length of the last line of the script.

  • endLine: number

    Last line of the script.

  • executionContextAuxData?: object

    Embedder-specific auxiliary data.

  • executionContextId: number

    Specifies script creation context.

  • hash: string

    Content hash of the script.

  • hasSourceURL?: boolean

    True, if this script has sourceURL.

  • isLiveEdit?: boolean

    True, if this script is generated as a result of the live edit operation.

  • isModule?: boolean

    True, if this script is ES6 module.

  • length?: number

    This script length.

  • scriptId: string

    Identifier of the script parsed.

  • sourceMapURL?: string

    URL of source map associated with script (if any).

  • stackTrace?: StackTrace

    JavaScript top stack frame of where the script parsed event was triggered if available.

  • startColumn: number

    Column offset of the script within the resource with given URL.

  • startLine: number

    Line offset of the script within the resource with given URL (for script tags).

  • url: string

    URL or name of the script parsed (if any).