Search code examples
macoschromium-embedded

How to hack the compiled Chromium Embedded Framework


I have an installed application which uses CEF to display web content on my mac. I didn't make the application. I want to access developer console in the application. Is there a way to turn on debugging mode in the application?


Solution

  • This might work:

    1. Start the application with a command line argument --remote-debugging-port=9222
    2. Using Chrome go to http://localhost:9222
    3. If you are able to connect click on the link of interest. It'll open Chrome Developer Tools.

    If the developers didn't take special measures this way is likely to succeed. More details here.