简体   繁体   English

如何使用node-webkit-agent?

[英]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?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM