简体   繁体   中英

How to use node-webkit-agent?

How to use node-webkit-agent ?

I'm stuck with the second step: Using your browser, go to devtools frontend URL corresponding to your nodejs version

How can I access the devtools?

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 -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.

The README has the URLs, those are copies of devtools frontend. You could also checkout the gh-pages branch and open any of them locally

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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