-
-
Notifications
You must be signed in to change notification settings - Fork 197
tns debug ios --chrome keeps changing port on every livesync update #3183
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
@recon472 I can confirm that this indeed the current behavior when debugging with Chrome on iOS. Unfortunately currently there isn't a workaround, but we'll let you know when we've addressed it! |
I updated cli to 3.4.1 and still getting same issue |
@snovos could you please share the output of the |
@Pip3r4o I was able to spin up my app and it works, but when I paste that debug chrome url im getting this |
@snovos can you make sure that you are also running the 3.4.1 ios runtime, as the CLI and the runtime need to be the latest versions to benefit from the latest inspector fixes. |
@Pip3r4o
I used same packages version as in HelloWorld boilerplate |
@snovos please install the latest 3.4.1 version of the ios platform. |
I have the same issue with 3.4.1. Also, it doesn't stop on a line with debugger; tns: 3.4.0
I get a new debugger port with each minor code change and it never stops on the "debugger;" line. |
So it wasn't immediately obvious to me how to update tns. I thought maybe tns update would do it. this is what it really needed. I stumbled on this from opening sidekick and it said I needed tns 3.4.1 and tns-ios 3.4.1. Now it opens the same debugger port during a livesync. |
Hi,
Tell us about the problem
When I run "tns debug ios --chrome" or run the debug via sidekick, everytime livesync updates the app when the code is changed, the chrome devtools port changes. So you have to copy the url again after every change. When debugging android, the port is always the same.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
"nativescript-pro-ui": "3.1.4",
"nativescript-sqlite": "1.1.11",
"nativescript-theme-core": "1.0.4",
"tns-core-modules": "3.3.0"
Please tell us how to recreate the issue in as much detail as possible.
run "tns debug ios --chrome"
open chrome with the provided url
change someting in the code
chrome devtools stops working until reloaded with new url from terminal
Best regards
Jacklin
The text was updated successfully, but these errors were encountered: