We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b0a4e commit 6a7dda1Copy full SHA for 6a7dda1
lib/services/ios-debug-service.ts
@@ -236,7 +236,7 @@ export class IOSDebugService extends DebugServiceBase implements IPlatformDebugS
236
if (!port) {
237
this.$errors.fail("NativeScript debugger was not able to get inspector socket port.");
238
}
239
- const socket = device ? await device.connectToPort(port) : net.connect(port);
+ const socket = device ? await device.connectToPort(port) : await this.$iOSEmulatorServices.connectToPort({ port });
240
this._sockets.push(socket);
241
return socket;
242
};
0 commit comments