inspector

package
v0.160.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 1 Imported by: 75 modules, 61 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package inspector provides the Chrome DevTools Protocol commands, types, and events for the Inspector domain.

Generated by the pdlgen command.

Index

Constants

View Source
const (
	CommandDisable = "Inspector.disable"
	CommandEnable  = "Inspector.enable"
)

Command names.

Variables

View Source
var Detached = cdp.Event[EventDetached]{Method: "Inspector.detached"}

Detached fired when remote debugging connection is about to be terminated. Contains detach reason.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-detached

View Source
var Disable = cdp.Command[cdp.Empty, cdp.Empty]{Method: CommandDisable}

Disable disables inspector domain notifications.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#method-disable

Enable enables inspector domain notifications.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#method-enable

View Source
var TargetCrashed = cdp.Event[EventTargetCrashed]{Method: "Inspector.targetCrashed"}

TargetCrashed fired when debugging target has crashed.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-targetCrashed

View Source
var TargetReloadedAfterCrash = cdp.Event[EventTargetReloadedAfterCrash]{Method: "Inspector.targetReloadedAfterCrash"}

TargetReloadedAfterCrash fired when debugging target has reloaded after crash.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-targetReloadedAfterCrash

View Source
var WorkerScriptLoaded = cdp.Event[EventWorkerScriptLoaded]{Method: "Inspector.workerScriptLoaded"}

WorkerScriptLoaded fired on worker targets when main worker script and any imported scripts have been evaluated.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-workerScriptLoaded

Functions

This section is empty.

Types

type EventDetached

type EventDetached struct {
	Reason string `json:"reason"` // The reason why connection has been terminated.
}

EventDetached fired when remote debugging connection is about to be terminated. Contains detach reason.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-detached

type EventTargetCrashed

type EventTargetCrashed struct{}

EventTargetCrashed fired when debugging target has crashed.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-targetCrashed

type EventTargetReloadedAfterCrash

type EventTargetReloadedAfterCrash struct{}

EventTargetReloadedAfterCrash fired when debugging target has reloaded after crash.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-targetReloadedAfterCrash

type EventWorkerScriptLoaded

type EventWorkerScriptLoaded struct{}

EventWorkerScriptLoaded fired on worker targets when main worker script and any imported scripts have been evaluated.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-workerScriptLoaded

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL