-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging connection was closed: WebSocket disconnected #8175
Comments
Could you strip down the preview.html that you referenced? Will help pinpoint issue. |
I have added preview.html. If I remove |
Issue Type
Current/Missing Behavior
Unable to open dev-tool for the application when I running using nwjs 0.84.0 version
Error
Debugging connection was closed: WebSocket disconnected
Reconnect when ready reopening DevTools
Note: the application works in nw.js 0.50.1
By accessing like this also same error: http://127.0.0.1:9222/devtools/inspector.html?ws://localhost:9222/devtools/page/PageID
Expected/Proposed Behavior
It should be launch the chrome dev-tool without WebSocket disconnected error
Additional Info
Package.json
preview.html
To launch the app from CLI
"C:/nw/nw_win/nw.exe" --remote-debugging-port=9222 "C:/preview/inlinepreview" --wsServer=ws://127.0.0.1:9009 --debug-port=9222
The text was updated successfully, but these errors were encountered: