Skip to content

Chrome Developer Tools not working #60

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Use default settings with "devtools_F12": true,
        "command_line_switches": {
            "remote-debugging-port": "54008"
        }
2. Launch PHP Desktop
3. Press F12 or right click and choose Show Developer Tools

What is the expected output? What do you see instead?

Expected output is to see the Chrome Developer Tools pop up at the bottom of 
the window.  What is happening is a second PHP Desktop window opens and a 
standard windows 8 prompt pops up that says "No apps are installed to open this 
type of link (chrome-devtools)" and there is the standard option below to "Look 
for an app in the store".  I've attached a screenshot.

There are some warnings and debug lines in the console that happen in the 
console on startup and after pressing F12.  They might be helpful.

On Startup:

INFO: CGI pattern: **.php$
DEBUG: Command line string for the browser process: "C:\[my path 
removed]\phpdesktop-chrome.exe" --lang=en-US --log-file="C:\[my path 
removed]\debug.log" --no-sandbox --remote-debugging-port=54008
DEBUG: App::OnContextInitialized()
DEBUG: Window max width/height 1600/962
DEBUG: GeBrowserWindow(): not found, hwnd = 2035706
DEBUG: WindowProc(): event WM_GETMINMAXINFO: could not fetch BrowserWindow
DEBUG: BrowserWindow:CreateBrowserControl()
DEBUG: StoreBrowserWindow(): hwnd = 2035706
WARNING: BrowserWindow:OnSize() failed: CefBrowser object not created yet
DEBUG: SetCefBrowser() called in ClientHandler::OnAfterCreted()
DEBUG: DPI, ppix = 96, ppiy = 96
DEBUG: DPI, browser zoom level = 0
...

Upon Pressing F12:

DEBUG: F12 pressed, opening developer tools
DEBUG: BrowserWindow::BrowserWindow() created for Popup
DEBUG: StoreBrowserWindow(): hwnd = 1446350
WARNING: BrowserWindow::OnSize() failed: CefBrowser object not created yet
DEBUG: SetCefBrowser() called in ClientHandler::OnAfterCreated()

and that's the last line in the console.

What version of the product are you using? On what operating system?

I am on Windows 8.1.  I'm using phpdesktop-chrome-31.1-php-5.4.24.

Other information: 

I did go into my firewall and make sure the port for debugging was not blocked. 
 Could this be a Windows 8.1 specific problem?

Original issue reported on code.google.com by DallinHS...@gmail.com on 21 Jan 2014 at 7:05

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions