question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

where is console.log for ios without remote debug?

See original GitHub issue

Environment

Run react-native info in your terminal and paste its contents here. Environment: OS: macOS Sierra 10.12.6 Node: 9.11.1 Yarn: 1.5.1 npm: 5.6.0 Watchman: Not Found Xcode: Xcode 9.2 Build version 9C40b Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed) react: ^16.4.0 => 16.4.0 react-native: ^0.55.4 => 0.55.4

Description

react-native log-ios shows nothing about console.log sometime I don’t like to use chrome for remote debug especially when run in real device, I could not found anything by console.log in either log-ios output or the macos’s consoleApp.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

28reactions
react-native-botcommented, Jun 15, 2018

Please use Stack Overflow for this type of question.

13reactions
Annihilcommented, Oct 18, 2018

react-native log-ios command is broken since version 0.5+,
I wrote a small npm package to use it again.

npm i -g react-native-log-ios
react-native-log-ios <XCode Project Name>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging JavaScript console from iPhone without remote ...
1. Open a tab in Chrome for iPhone with the URL chrome://inspect and turn debugging on by clicking “start logging” button.
Read more >
Debug JavaScript console log output from an iPhone without ...
More details in the medium article https://bebroide.medium.com/ debugging -javascript- console -from- iphone - without - remote -device-ab6986c0961f.
Read more >
Is there a way to see console.log without choosing debug js ...
This extension needs "Debug Js Remotely" enabled. Is there a way to see logs without choosing debug js remotely? · Well, then the...
Read more >
How to Debug Websites on iPhone Safari | BrowserStack
How to debug errors on iPad or iPhone using the Safari Console menu? · Select “Console” from the iPhone Safari Web Inspector Menu....
Read more >
Debugging Safari/Chrome on your iPhone/iPad/iOS device
In Chrome on your iPad or iPhone, go to chrome://inspect and then press Start Logging. Now go do your thing in another tab,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found