Unable to use DevTools externally

Using the latest ExeOutput / CEF versions. Also using the EXORun.dat patch provided by you.

I have enabled Devtools and Devtools in Popup in my rendering engine properties. When I click Developer Tools from the context menu, it works fine (see below image).

1743338798693.webp


But when I visit "http://localhost:9000" from an external browser, DevTools is not loaded and it just displays a blank white screen (see below image).

1743338832527.webp


Surprisingly, "http://localhost:9000/json/list" does show the JSON list of all active pages (see below image).

1743338920282.webp

I have tried using a different DevTools port, still the same issue.

Alternatively, is there a way we can run CDP commands using javascript / HEScript? I am trying to run some commands using DevTools Protocol like Network.getAllCookies and Network.deleteCookies.

Kindly help, thanks!
 
This is a known issue in CEF, but the developer said he won't fix it:
Instead, there are new instructions for remote debugging.

You should use chrome://inspect/ for connecting to remote debugging in Edge or Chrome, click Configure and enter localhost:9000
Then refresh:
1743455705336.webp

And remote devtools will open.
Alternatively, is there a way we can run CDP commands using javascript / HEScript? I am trying to run some commands using DevTools Protocol like Network.getAllCookies and Network.deleteCookies.
I suppose that you could use a WebSocket connection to communicate with the remote debugging endpoint. You can then send CDP commands using JavaScript by leveraging WebSocket communication to interact with the DevTools Protocol.
 
I suppose that you could use a WebSocket connection to communicate with the remote debugging endpoint. You can then send CDP commands using JavaScript by leveraging WebSocket communication to interact with the DevTools Protocol.
WebSocket connection is somehow rejected (probably the same reason as why visiting localhost:9000 shows a blank page) so I cannot use it.

Anyway, I managed to run CDP commands by creating my own chrome extension, but need some help loading it on app startup. I have posted a bug thread here.
 
Strange, because it works for us once the port 9000 was added to the "Discover Network Targets" Chrome dialog box.
 
Back
Top