Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.Debugger

Headless Chrome Deno API
Latest
namespace Protocol.Debugger
import { Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { Debugger } = Protocol;

Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.

Interfaces

Fired when breakpoint is resolved to an actual script and location.

JavaScript call frame. Array of call frames form the call stack.

Debug symbols available for a wasm script.

Location in the source code.

Location range within one script.

Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.

Scope description.

Fired when virtual machine fails to parse the script.

Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

Location in the source code.

Search match for resource.

Type Aliases

Breakpoint identifier.

Call frame identifier.

Enum of possible script languages.