-
-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
Which platform(s) does your issue occur on?
iOS, MacOS Sierra, 10.12.6
Please provide the following version numbers that your issue occurs with:
- CLI: 3.1.1
- Cross-platform modules: 3.1.1
- Runtime(s): "tns-ios":3.1.0
- Plugin(s): (look for the version number in the
package.json
file of your
project)
"nativescript-bottombar": "^3.0.4",
"nativescript-geolocation": "^3.0.0",
"nativescript-google-maps-sdk": "^2.3.2",
"nativescript-ngx-fonticon": "^2.2.1",
"nativescript-oauth": "^2.0.1",
"nativescript-telerik-ui": "^3.0.1",
Please tell us how to recreate the issue in as much detail as possible.
- Run: tns debug ios --chrome --emulator
- Attempt to attach chrome debugger with resultant chrome-devtools url
Is there code involved? Not really. I think I can reproduce this with hello world.
When I issue the 'tns debug ios --chrome --emulator' command, everything starts up fine. When I attach the chrome debugger using the 'chrome-devtools' url that the command prints to console, chrome immediately shows a message saying it is disconnected and the console where I issued the command shows:
.
Frontend client connected.
Backend socket created.
Error: connect ECONNREFUSED 127.0.0.1:18181
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1093:14)
Chrome shows message popup:
"Debugging connection was closed. Reason: websocket_closed
Reconnect when ready by reopening DevTools"