chromium-embedded

Are Developer Tools availabe in every Chromium-based application and if yes, how to open them?


I have a CEF-based application, written by a previous engineer, with no source code. For debugging and changing some server code, I'd like to have an option to open Developer Tools for the application, which are disabled. Is there a way to re-enable and start them? As far as I know, for CEF-based applications they are included anyway, even if a developer chooses to disable them.


Solution

  • You can run that app with the command line parameter

    app.exe --remote-debugging-port=9222
    

    It will start your app instance with the remote-debugging-port, then you can open http://localhost:9222 in Chrome and you will find the Developer Tools interface identical to the embedded one.