Skip to content

fix: tns debug ios should work on device #4827

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

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

rosen-vladimirov
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov commented Jul 10, 2019

Currently tns debug ios hangs when executed for device. The problem is that we pass "waitForDebugger": false to ios-device-lib binary, which can parse only strings. The value false is boolean, not string, so ios-device-lib binary crashes, but CLI does not understand this and hangs.
Fix this by ensuring we pass waitForDebugger as string.

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes issue #4828

Currently `tns debug ios` hangs when executed for device. The problem is that we pass `"waitForDebugger": false` to ios-device-lib binary, which can parse only strings. The value `false` is boolean, not string, so ios-device-lib binary crashes, but CLI does not understand this and hangs.
Fix this by ensuring we pass waitForDebugger as string.
@rosen-vladimirov
Copy link
Contributor Author

test cli-device package_version#rc

@rosen-vladimirov rosen-vladimirov merged commit ce304f9 into release Jul 10, 2019
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-debug-ios branch July 10, 2019 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants