You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot specify emulator device while debugging #1522
As of 1.6.1, it appears there is a CLI bug that causes problems if you try to specific a device while debugging on an emulator.
Command: $ tns debug ios --emulator --device "iPad Air 2"
Result:
Error Message in CLI: Cannot resolve the specified connected device by the provided index or identifier. To list currently connected devices and verify that the specified index or identifier exists, run 'tns device'.
Expected:
App to load in iOS Simulator running as iPad Air 2 with debugger attached
This is a CLI command that worked as expected before 1.6.
Activity
Daxito commentedon Feb 21, 2016
+1
Not working here either
rosen-vladimirov commentedon Feb 22, 2016
Thanks for reporting this. As a workaround you can use:
nguyenbn commentedon Mar 4, 2016
I am also have the same issue on 1.6.2. I tried doing the workaround, but had no luck.
tns emulate ios --device "iPhone 6" --justlaunch
tns debug ios
The simulator opens after the first command, but the second command doesn't launch the debugger window.
dtopuzov commentedon Jun 6, 2016
Still valid in {N} 2.0.1