Skip to main content
Debugger.ScriptParsedEventDataType - inspector/promises - Node documentation
interface Debugger.ScriptParsedEventDataType

Usage in Deno

import { Debugger } from "node:inspector/promises";

Properties

Identifier of the script parsed.

url: string

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

startLine: number

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

startColumn: number

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

endLine: number

Last line of the script.

endColumn: number

Length of the last line of the script.

Specifies script creation context.

hash: string

Content hash of the script.

optional
executionContextAuxData: { } | undefined

Embedder-specific auxiliary data.

optional
isLiveEdit: boolean | undefined

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

optional
sourceMapURL: string | undefined

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

optional
hasSourceURL: boolean | undefined

True, if this script has sourceURL.

optional
isModule: boolean | undefined

True, if this script is ES6 module.

optional
length: number | undefined

This script length.

optional
stackTrace: Runtime.StackTrace | undefined

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

Back to top