Skip to content

CefSettings: RemoteDebuggingPort and/or CefCommandLineArgs stopped working in 126 #4894

Description

@SiMoStro

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

126.2.160

Operating System

Windows 11

Architecture

x64

.Net Version

4.7.2

Implementation

WinForms

Reproduction Steps

We've successfully used the Chromium devtools/debugging feature in all latest versions, initializing CefSettings in this way:

CefSettings settings = new CefSettings
{
    LogSeverity = LogSeverity.Default,
};
settings.RemoteDebuggingPort = 3333;
settings.CefCommandLineArgs.Add("--remote-allow-origins", "*");

starting from version 126.2.70 this has stopped working.
We are currently testing 126.2.180 but the problem persists.

Expected behavior

The Chromium debug console should be available at the configured port:

image

Actual behavior

The page at the configured port does not generate errors but shows nothing:

image

Regression?

Yes, this used to work in previus versions.
Note that this problem has been already notified in this thread:

chromiumembedded/cef#3740

but has been closed as "WontFix", but this is clearly a regression.

Known Workarounds

No workaround

Does this problem also occur in the CEF Sample Application

Not Tested

Other information

Other users have already notified the problem:

chromiumembedded/cef#3740

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions