Page 1 of 1

Enable devtool serveur for CEF

PostPosted: Thu Jul 18, 2019 11:46 am
by tgayet
Hi,

I would have liked to know if anyone had been able to compile a CEF with the web server part allowing the Chrome Web Inspector to be able to remotely connect to the EmbeddedChromium instance.

https://developers.google.com/web/tools ... -devtools/
https://chromedevtools.github.io/devtools-protocol/

Indeed, I use CEF in screenless mode for server use and therefore I would have needed to set breakpoints in the javascript application, to modify the CSS dynamically, to consult the network exchanges, ...

Is there a method or flags for CEF?

thank you very much in advance

Thierry

Re: Enable devtool serveur for CEF

PostPosted: Thu Jul 18, 2019 11:52 am
by magreenblatt
Are you talking about DevTools remote debugging? It should be sufficient to run with the `--remote-debugging-port=XXXX` command-line flag and then load http://localhost:XXXX in a compatible version of Google Chrome.