Skip to content

Empty Chrome DevTools when using tns debug ios for iOS Simulator #3337

@rosen-vladimirov

Description

@rosen-vladimirov

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Yes

Tell us about the problem

When tns debug ios is used and a change in the application code is applied, Chrome DevTools should be reconnected. Once the change is applied on simulator, CLI prints the new URL that should be opened in Chrome DevTools (commonly it is the same as the previous one). In case you open this URL immediately, you'll receive empty DevTools. The problem is that CLI prints the URL when application is still not started on device and DevTools are unable to connect.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.4.1
  • Cross-platform modules: not applicable
  • Runtime(s): not applicable
  • Plugin(s): not applicable

Please tell us how to recreate the issue in as much detail as possible.

  1. In any project execute: $ tns debug ios and ensure you are using iOS Simulator
  2. Once you see the Chrome DevTools URL, open it in Chrome. Everything should work fine.
  3. Apply a change in the application code (for example in .js file).
  4. When CLI prints the new URL, immediately refresh the previously opened DevTools. They'll appear empty.

NOTE: This feature cannot be implemented before fixing the current issue.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions