My Problem is, that when I'm debugging my cordova-Android-App, I can easily do it with remote debugging in chrome and see my console.log(s) from the beginning. But how can I see that with the IOS-cordova-Apps?
I tried to see it with safari->developer->emulator. After a while I can see the console.log(s). But I really need to see the first console.log(s) and these arent listed there.
Thanks for your Help!
Go to Xcode → Preferences → Debugging → On Start → "Show Console".
In the Xcode menu hit Run - Console. This is where NSLog / print / printf etc statements output. The key command is Command + Shift + R.
Here is small tip for Xcode developers. To show/hide the Console click the icon Show/Hide the console in the lower right corner. It's the last icon on the lower right side of the panel.
Try this plugin: https://github.com/apache/cordova-plugin-console
It should print the log in the xcode console then
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With