WebScene.Diagnostics.Cdp 1.0.34

dotnet add package WebScene.Diagnostics.Cdp --version 1.0.34
                    
NuGet\Install-Package WebScene.Diagnostics.Cdp -Version 1.0.34
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WebScene.Diagnostics.Cdp" Version="1.0.34" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WebScene.Diagnostics.Cdp" Version="1.0.34" />
                    
Directory.Packages.props
<PackageReference Include="WebScene.Diagnostics.Cdp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WebScene.Diagnostics.Cdp --version 1.0.34
                    
#r "nuget: WebScene.Diagnostics.Cdp, 1.0.34"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WebScene.Diagnostics.Cdp@1.0.34
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WebScene.Diagnostics.Cdp&version=1.0.34
                    
Install as a Cake Addin
#tool nuget:?package=WebScene.Diagnostics.Cdp&version=1.0.34
                    
Install as a Cake Tool

WebScene.Diagnostics.Cdp

This optional package forwards WebScene's native V8 Inspector Protocol session unchanged through a Chrome-compatible discovery and WebSocket endpoint.

var options = new WebSceneV8InspectorOptions
{
    Enabled = true,
    Address = IPAddress.Loopback,
    Port = 9229,
    WaitForDebugger = true
};

WebSceneV8InspectorHost? inspector = null;
await view.LoadAsync(
    documentUri,
    nativeLibraryPath,
    cacheDirectory,
    async (readyView, cancellationToken) =>
    {
        inspector = new WebSceneV8InspectorHost(
            readyView.OpenV8InspectorSession,
            () => readyView.Source,
            options);
        await inspector.StartAsync(cancellationToken);
    },
    Timeout.InfiniteTimeSpan);

The before-navigation hook is required only for WaitForDebugger: it opens a V8 session before the document request is queued. V8 then waits until the first client sends Runtime.runIfWaitingForDebugger. The wait occurs on WebScene's engine worker, so the UI dispatcher, discovery endpoint, and window remain responsive. The raw session interface lives in WebScene.Backend.Abstractions, so the same host works with both Avalonia and Uno native views. Dispose inspector during application shutdown.

Open chrome://inspect, add localhost:9229 under Discover network targets, and select inspect for the WebScene target. The generated access token is available as inspector.AccessToken when a direct WebSocket client is used. Set Port = 0 to request an ephemeral loopback port, then log or read inspector.DiscoveryUri/inspector.BoundPort after StartAsync.

Inspector hosting is disabled unless Enabled = true. Loopback is the default; non-loopback bindings require AllowRemoteConnections = true. Enabling that remote mode also protects discovery when the selected address is loopback. Remote-mode discovery requests and all WebSocket clients must present the generated token as a token query parameter or Authorization: Bearer header; unauthenticated discovery never publishes the bearer secret. Chrome DevTools origins are the only non-empty origins accepted.

Inspector sessions require WebScene's normal dedicated-isolate mode. The opt-in WEBSCENE_V8_SHARED_ISOLATE lane intentionally reports the inspector as unavailable because independent engine workers cannot safely drive the same isolate inspector.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.34 43 9/9/2026
1.0.33 94 9/4/2026
1.0.32 104 9/3/2026
1.0.31 96 9/3/2026
1.0.30 94 9/1/2026
1.0.27 85 8/31/2026
1.0.26 100 8/28/2026
1.0.25 90 8/28/2026
1.0.23 101 8/24/2026
1.0.22 94 8/23/2026
1.0.21 96 8/22/2026
1.0.20 143 8/4/2026

Adds generated ABI 3 codecs for external models, improves cross-platform web-font decoding, caches system-font probes and text shaping, and reduces CSS-variable resize recalculation while preserving dimension inheritance. Fixes detached DOM cleanup after memory-pressure collection and includes cross-platform runtime fixes.