【发布时间】:2013-04-21 15:58:47
【问题描述】:
我坚持第二步:
Using your browser, go to devtools frontend URL corresponding to your nodejs version
如何访问开发工具?
【问题讨论】:
标签: javascript node.js google-chrome node-webkit-agent
我坚持第二步:
Using your browser, go to devtools frontend URL corresponding to your nodejs version
如何访问开发工具?
【问题讨论】:
标签: javascript node.js google-chrome node-webkit-agent
查看自述文件,您可能会想要下面的 0.8 url...
Nodejs v0.6.x
http://c4milo.github.com/node-webkit-agent/19.0.1084.46/inspector.html?host=localhost:1337&page=0
Nodejs v0.8.x
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
您可以通过 npm-install 来托管您自己的前端。
npm install -g webkit-devtools-agent-frontend
当您运行您的应用程序时,发送 SIGUSR2 并重新启动(我当前遇到错误),打开第二个终端并运行命令 webkit-devtools-agent-frontend 它将显示它正在运行的端口号供您查看浏览器。
【讨论】:
自述文件有 URL,它们是 devtools 前端的副本。您还可以签出 gh-pages 分支并在本地打开它们中的任何一个
【讨论】: