Choose the right attachment model

Host & Process Sessions

Use one session model from isolated command testing to a running Avalonia process.

Explore source
Parent systemInspector
StatusActive
Modules2
RepositoryInspector/Inspector.Transport

Host mode targets an instrumented local runtime; process mode resolves an existing application by PID or name and consumes published live snapshots; stub mode supplies deterministic fixtures for workflow validation.

  1. 01

    Instrumented host endpoints

  2. 02

    PID or process-name targeting

  3. 03

    Live snapshot availability signal

  4. 04

    Deterministic stub fixtures

From intent
to working system.

01

Resolve

Mode-specific arguments select a host endpoint, running process, or fixture.

02

Authorize

Client identity, version, secret, and requested scopes establish boundaries.

03

Persist

The returned session id survives across CLI invocations.

04

Fallback

Process mode reports whether live UI snapshots exist and otherwise exposes process metadata honestly.

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 add package Inspector.Host
dotnet add package Inspector.Transport
02 · Use · bash
Terminal
# Instrumented application endpoint
inspector connect --mode host --address local://inspector --json
# Already-running application
inspector connect --mode process --name Inspector.SampleApp --json
# Deterministic command-flow fixture
inspector connect --mode stub --client-id tests --json

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.

Inspector

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…