Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Developer Tools not working #60

Closed
GoogleCodeExporter opened this issue Aug 28, 2015 · 6 comments
Closed

Chrome Developer Tools not working #60

GoogleCodeExporter opened this issue Aug 28, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 21 Jan 2014 at 7:05

Attachments:

@waheed707
Copy link

waheed707 commented May 4, 2018

Datalist tag is not working how i will fixed that in php-desktop-chrome version 57.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants