-
-
Notifications
You must be signed in to change notification settings - Fork 197
tns debug ios
times out
#636
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
Comments
Hi @tjvantoll, I wasn't able to reproduce the timeout issue on my machine. Can you give us more information about your osx version and your safari version? |
Hi @Fatme, I'm running Safari 8.0.7 and OS X 10.10.4. I just tried this on https://github.com/NativeScript/sample-Groceries, adding the iOS platform from scratch, and I can still recreate the problem. |
Hi @tjvantoll, We've released 1.2.2 version of {N} CLI and introduced |
Hey @Fatme, Unfortunately I'm still not able to use the {N} inspector as of 1.2.2. I've tried running
|
@tjvantoll please run |
Hey @teobugslayer, Here's the log from running on a newly created project with 1.2.2: https://gist.github.com/tjvantoll/ebde3c16998c117814f5. And here's a short video of what I see on my end: https://www.dropbox.com/s/nkw8hpdwhmqzdqk/debug-timeout-issue.mov?dl=0. Thanks! |
@tjvantoll can you check if port |
@Fatme I believe that it is. OS X's Network Utility tells me that it is at least:
@toddanglin, by chance are you still having the same issue with |
Just tested with 1.2.2 on OSX 10.10.5 and experienced the same problem. I created a new project ( Actually, it's identical to what @tjvantoll shows in his short video above. |
I don't know if it means anything, but I noticed in my
Maybe the wrong version of the Inspector is being used by the CLI on Mac? Long shot. No idea how the Inspector is versioned or if the versions are supposed to match. |
{N} Inspector path is correct - |
Can we re-open this issue? I'm still experiencing the original problem with {N} v1.2.3. Have you been able to reproduce the problem on a Mac? |
This still failed for me initially with NativeScript 1.3 on Mac, but 1.3 did reveal that something else was trying to use port 8080. Upon further investigation, the offending process using port 8080 was: node /usr/local/lib/node_modules/nativescript/node_modules/node-inspector/bin/inspector --debug-port 53121 I manually killed this process and re-attempted debugging an iOS app running in the emulator. And success! The debug tools opened and connected. @tjvantoll: Do you still have this problem with 1.3? If so, does the same solution work for you? |
It works! I didn't even have to kill a process. The 1.3 update (and/or the new Xcode 7 command line tools) seem to have magically fixed this. Now I have some gifs to make :) |
Since 1.1.2 (maybe before?) the tns debug ios --debug-brk command times out for me on iOS—with and without the --emulator flag.
The command successfully deploys the app to the iOS simulator / device, and successfully launches the web inspector, but I just end up getting stuck on
2015-07-10 16:19:08.779 sampleGroceries[1134:21324] NativeScript waiting for debugger.
And then eventually I get:
Session ended without errors.
tns debug ios --start does not appear to work either. It launches the web inspector but cannot connect to the app.
Any help on this would be appreciated.
+@toddanglin as he hit this issue too
The text was updated successfully, but these errors were encountered: