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

devtools does not working #70

Closed
ghost opened this issue Oct 2, 2012 · 8 comments
Closed

devtools does not working #70

ghost opened this issue Oct 2, 2012 · 8 comments

Comments

@ghost
Copy link

ghost commented Oct 2, 2012

Just a white background instead of treasured instruments.

@zcbenz
Copy link
Contributor

zcbenz commented Oct 3, 2012

I have added a section about this on Debugging with devtools, this is not a bug of node-webkit so I won't fix it.

@zcbenz zcbenz closed this as completed Oct 3, 2012
@Ivshti
Copy link
Contributor

Ivshti commented Oct 3, 2012

"Then when you open the developer tools from the application menu Debug -> Show DevTools."

I cannot figure out how to bring out this application menu.
Where is it?

@ghost
Copy link
Author

ghost commented Oct 3, 2012

This problem is solved!

@zcbenz
Copy link
Contributor

zcbenz commented Oct 3, 2012

Start node-webkit with nw --developer, then you should notice that
node-webkit is started with a menu bellow titlebar.

On Wed, Oct 3, 2012 at 5:59 PM, Ivo Georgiev notifications@github.comwrote:

"Then when you open the developer tools from the application menu Debug ->
Show DevTools."

I cannot figure out how to bring out this application menu.
Where is it?


Reply to this email directly or view it on GitHubhttps://github.com//issues/70#issuecomment-9101107.

Cheng
Intel Open Source Technology Center

@Ivshti
Copy link
Contributor

Ivshti commented Oct 3, 2012

Oh yes, thanks.

@Gozala
Copy link

Gozala commented Oct 19, 2012

Is there a way to open webinspector programatically ?

@ransombot
Copy link

failed: nw --developer

worked:

var gui = require('nw.gui');
var win = gui.Window.get();
win.showDevTools(1);

Note: it should NOT be in < head>

@TomasHubelbauer
Copy link

I am using nwjs-sdk-v0.54.1-osx-x64. The DevTools do not appear when I go to Window > DevTools or use the Cmd+Option+i shortcut.

var gui = require('nw.gui');
var win = gui.Window.get();
win.showDevTools(0);

This works but I have to use 0 instead of 1.

Adding --developer did not open the DevTools.

This also works: nw.Window.get().showDevTools();.

I think this issue should be opened as the problem with the DevTools persists.

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

5 participants