Git Product home page Git Product logo

Comments (6)

pragma-git avatar pragma-git commented on July 30, 2024 1

I got it to work on MacOS nwjs SDK versions v85 and v89, following above comments and mentioned links.

AS BEFORE:

  1. Start as before (in this example, I stand in the folder containing package.json):
    /Applications/nwjs.app/Contents/MacOS/nwjs --remote-debugging-port=9222 .

NEW:

  1. Open Chrome browser, and type address chrome://inspect/

  2. Click the top-most inspect link on the screen shot. You may have to resize panes to get it looking as before

Screenshot connect to remote



SUGGESTION:

May I suggest to add a helpful hint on how to connect with chrome, in the documentation https://docs.nwjs.io/en/latest/For%20Users/Debugging%20with%20DevTools/ ?

from nw.js.

stepancar avatar stepancar commented on July 30, 2024

We experience the same issue

from nw.js.

animanathome avatar animanathome commented on July 30, 2024

We have the same issue with 0.88 and 0.87 on ubuntu22.04

from nw.js.

stepancar avatar stepancar commented on July 30, 2024

I have to mention. We have experienced the same issue on 88, 87, 86. but not on 85.
We are running nwjs on linux

from nw.js.

ayushmanchhabra avatar ayushmanchhabra commented on July 30, 2024

Steps to reproduce:

  1. Run nw with manifest configured as below (add the --user-data-dir flag after reading this article)
{
    "name": "<any name>",
    "main": "<any html or js file",
    "chromium-args": " --user-data-dir=/home/<user>/testing --remote-debugging-port=http://localhost:9222/"
}
  1. Open Chrome and navigate to http://localhost:9222.

  2. Observe message which says Site can't be reached and localhost refused to connect.

from nw.js.

ayushmanchhabra avatar ayushmanchhabra commented on July 30, 2024

https://developer.chrome.com/docs/devtools/remote-debugging/local-server/
Article detailing port forwarding

from nw.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.