Human and scripted diagnostics

Inspector & CLI

Use the same diagnostics surface from a visual tool or a terminal.

Explore source
Parent systemCDP
StatusPreview
Modules5
RepositoryCDP/CDP.Inspector.Shared

Inspector controls, shared view models, WYSIWYG tools, a desktop client, in-process diagnostics, and CLI commands provide multiple ways to work with CDP targets.

  1. 01

    Desktop inspector composition

  2. 02

    WYSIWYG overlays and editing

  3. 03

    In-process diagnostic tools

  4. 04

    Scriptable CLI client

From intent
to working system.

01

Connect

Clients discover targets and create a protocol session.

02

Model

Shared view models normalize trees, properties, events, and commands.

03

Present

Controls and WYSIWYG packages compose a visual inspector.

04

Script

CLI commands expose the same session to terminals and agents.

Adopt this
capability.

Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.

01 · Install
Terminal
dotnet tool install --global Chrome.DevTools.Cli --prerelease
02 · Use · bash
Terminal
cdp-inspector targets --url http://localhost:9222
cdp-inspector tree --target 0
cdp-inspector screenshot --target 0 --output app.png

Use one layer.
Compose the rest.

Read the module beside the complete system.

The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.

CDP

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…