Comments (6)
I got it to work on MacOS nwjs SDK versions v85 and v89, following above comments and mentioned links.
AS BEFORE:
- 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:
-
Open Chrome browser, and type address
chrome://inspect/
-
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](https://private-user-images.githubusercontent.com/77813113/349237012-e51b7154-504d-493e-ac9a-5aa70894a04c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzMjc0MzUsIm5iZiI6MTcyMjMyNzEzNSwicGF0aCI6Ii83NzgxMzExMy8zNDkyMzcwMTItZTUxYjcxNTQtNTA0ZC00OTNlLWFjOWEtNWFhNzA4OTRhMDRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMwVDA4MTIxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2NjFlN2M2ZjdhN2U3MWI1YmIxNTE3MDRkZjA3YjcyMTA5MjI3NWZhOTc5ZWZjN2NmM2E2ODMxMTliMzEyZWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.WumxNnENFh2HC3YQGh2dY-c-nWn8gJRoXLqt-qLQKJg)
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.
We experience the same issue
from nw.js.
We have the same issue with 0.88 and 0.87 on ubuntu22.04
from nw.js.
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.
Steps to reproduce:
- 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/"
}
-
Open Chrome and navigate to
http://localhost:9222
. -
Observe message which says
Site can't be reached
andlocalhost refused to connect
.
from nw.js.
https://developer.chrome.com/docs/devtools/remote-debugging/local-server/
Article detailing port forwarding
from nw.js.
Related Issues (20)
- %webkit_ver in "user-agent" has what looks like null pointer address output HOT 3
- Application crash on Windows when network changes (like turning on/off Wi-Fi) HOT 1
- Linux/X11: crash on 0.85.0+ when trying to show a tooltip from `title` attributes ("GPU process exited unexpectedly: exit_code=133") HOT 3
- Tray icons are a dedicated, separated window when running on Wayland mode
- nw2 implementation cause windows to become floating ones on tiling compositors
- URL.createObjectURL still fails HOT 1
- Buffer Overflow in WriteImage HOT 2
- Youtube Music Premium Bug HOT 3
- "-webkit-app-region: drag;" does not work in version 0.88.0 HOT 5
- WebGPU issues HOT 2
- Missing binary when installing nwjs using pnpm HOT 1
- app
- Segmentation fault when calling `chrome.privacy.services.autofillEnabled.set` HOT 6
- Security warning stops running nwjs on MacOS HOT 1
- Unchecked runtime.lastError: Invalid value for bounds. Bounds must be at least 50% within visible screen space.
- How to run axios in node js context with nw.js HOT 1
- Application crash on restart application
- set alpha value for Transparent clickthrough window HOT 2
- When using url in main, global object not available in page HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nw.js.