import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { ScriptFailedToParseEvent } = Protocol.Debugger;
Fired when virtual machine fails to parse the script.
Properties
scriptId: Runtime.ScriptId
Identifier of the script parsed.
startLine: integer
Line offset of the script within the resource with given URL (for script tags).
startColumn: integer
Column offset of the script within the resource with given URL.
endLine: integer
Last line of the script.
endColumn: integer
Length of the last line of the script.
executionContextId: Runtime.ExecutionContextId
Specifies script creation context.
optional
length: integerThis script length.
optional
stackTrace: Runtime.StackTraceJavaScript top stack frame of where the script parsed event was triggered if available.
optional
codeOffset: integerIf the scriptLanguage is WebAssembly, the code section offset in the module.
optional
scriptLanguage: Debugger.ScriptLanguageThe language of the script.