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

Can't open devtools #155

Open
1j01 opened this issue Apr 25, 2018 · 1 comment
Open

Can't open devtools #155

1j01 opened this issue Apr 25, 2018 · 1 comment

Comments

@1j01
Copy link

1j01 commented Apr 25, 2018

With the shell example (code copied and pasted manually), pressing Ctrl+Shift+I I get a blank window (or two - I'm guessing that's a race condition, triggering opening the devtools before they finish opening), with the following output in the terminal:

console.error: "Exception while loading the toolbox" ({error:"forbidden", message:"Window with outerWindowID '8' is chrome", from:"root"})

Also the main window is blank, so maybe I've copied something wrong - or maybe the nightly version of Firefox/Gecko doesn't work anymore! - it's hard for me to tell.

@mykmelez
Copy link
Contributor

mykmelez commented May 1, 2018

Hmm, which OS are you running on, and what command are you using to run your app? I can't reproduce on macOS, neither with my local clone (npm install && npm start run examples/hello-world-html/) nor with a global install from npmjs.com (npm install -i qbrt && qbrt run path/to/example/app/).

In any case, I'm not sure I would expect the keyboard shortcut to work, but the example app should open devtools automatically on startup, as it calls Runtime.openDevTools(window);, which should open a devtools window. That was broken on Nightlies for a while, but I fixed it a few weeks ago (and with version 0.2.5, which I published to npmjs.com), so it should work now.

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