Skip to content

Getting debug port failed with code 127 #33

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

Closed
Daxito opened this issue Mar 14, 2016 · 5 comments
Closed

Getting debug port failed with code 127 #33

Daxito opened this issue Mar 14, 2016 · 5 comments
Assignees

Comments

@Daxito
Copy link

Daxito commented Mar 14, 2016

Version V0.2.0 now gives this error, android and ios gives the same error code 127

screen shot 2016-03-14 at 11 02 56 am

@ivanbuhov
Copy link
Contributor

@Daxito the highlighted version is the version of the launch.json file format which coincides with the extension version. You can check the extension version by executing "Extensions: Show Installed Extensions".
vscode-extension-version
Delete your launch.json file and generate it again. For the purpose of the test you can create a brand new application. Make sure that you have no other emulators running while launching the debugger.
Can you provide the log in the debugger console for both iOS and Android?

@Daxito
Copy link
Author

Daxito commented Mar 14, 2016

ok, I had the correct version, but after reinstalling it it now seems ok 50%, I am not able to debug using the ios emulator but i can debug with an android device, iOS keeps saying this:

Unable to stop session. Result is: 3892314142

And it never opens the app.
Thanks!

@Daxito
Copy link
Author

Daxito commented Mar 14, 2016

And I can also confirm that I get the same error code 127 (Command failed: The debug process exited unexpectedly code:127) when launching an ios real device, again, launching android real device is ok.

Thanks

@ivanbuhov
Copy link
Contributor

@Daxito It seems that this is a known issue in the NativeScript CLI. If you confirm that the same happens when running tns debug ios --emulator from the command line, too, I will close the issue.

@Daxito
Copy link
Author

Daxito commented Mar 15, 2016

Yes confirmed, you can close it.
Thanks!

@ivanbuhov ivanbuhov self-assigned this Mar 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants