[英]How to use node-webkit-agent?
How to use node-webkit-agent ? 如何使用node-webkit-agent ?
I'm stuck with the second step: Using your browser, go to devtools frontend URL corresponding to your nodejs version
我坚持第二步: Using your browser, go to devtools frontend URL corresponding to your nodejs version
How can I access the devtools? 我怎样才能访问devtools?
Look in the readme, you will probably want the 0.8 url below... 看看自述文件,你可能会想要下面的0.8 url ...
Nodejs v0.6.x Nodejs v0.6.x
http://c4milo.github.com/node-webkit-agent/19.0.1084.46/inspector.html?host=localhost:1337&page=0 http://c4milo.github.com/node-webkit-agent/19.0.1084.46/inspector.html?host=localhost:1337&page=0
Nodejs v0.8.x Nodejs v0.8.x
http://c4milo.github.com/node-webkit-agent/21.0.1180.57/inspector.html?host=localhost:1337&page=0 http://c4milo.github.com/node-webkit-agent/21.0.1180.57/inspector.html?host=localhost:1337&page=0
https://www.npmjs.org/package/webkit-devtools-agent-frontend https://www.npmjs.org/package/webkit-devtools-agent-frontend
You can host your own front-end for it, by npm-install'ing this. 您可以通过npm-install'来托管自己的前端。
npm install -g webkit-devtools-agent-frontend
When you run your app, send SIGUSR2 and restart (which im currently running into errors with), open up a second terminal and run command webkit-devtools-agent-frontend
it will display the port number it is running on for you to view in the browser. 当您运行应用程序时,发送SIGUSR2并重新启动(我当前正在运行错误),打开第二个终端并运行命令webkit-devtools-agent-frontend
它将显示它正在运行的端口号,供您查看浏览器。
The README has the URLs, those are copies of devtools frontend. README有URL,这些是devtools前端的副本。 You could also checkout the gh-pages branch and open any of them locally 你也可以签出gh-pages分支并在本地打开它们
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.