# Javascript errors in Ionic app deployed on ios

**URL:** <https://forum.ionicframework.com/t/javascript-errors-in-ionic-app-deployed-on-ios/59797>\
**Category:** ionic-v1\
**Created:** [August 7, 2016, 5:47pm UTC](https://forum.ionicframework.com/t/javascript-errors-in-ionic-app-deployed-on-ios/59797 "2016-08-07T17:47:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ank5](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@ank5](https://forum.ionicframework.com/u/ank5)\
**Post date:** [August 7, 2016, 5:47pm UTC](https://forum.ionicframework.com/t/javascript-errors-in-ionic-app-deployed-on-ios/59797/1 "2016-08-07T17:47:29Z")

</div>

I am working on an Ionic app. When testing in the browser (on laptop), Chrome developer tools provide a great way to debug using console.log. It also shows Javascript errors in the browser console.

However, once the app is deployed on iPad (using xcode) the browser console is no longer visible. How can I see the statements printed using console.log and Javascript errors, if any.

Some actions in my Ionic app are not responding after the app is deployed on iPad. I think there might be some Javascript errors being thrown but I am not able to find what they are.

---

<div class="post-metadata">

**Author:** ![mkuklis](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mkuklis/32/102223_2.png) [@mkuklis](https://forum.ionicframework.com/u/mkuklis)\
**Post date:** [August 7, 2016, 7:32pm UTC](https://forum.ionicframework.com/t/javascript-errors-in-ionic-app-deployed-on-ios/59797/2 "2016-08-07T19:32:18Z")

</div>

You will need to make sure you have the [https://github.com/apache/cordova-plugin-console](https://github.com/apache/cordova-plugin-console) plugin installed. After that you should see the logs in xcode. The alternative is to use Safari. More details here: [http://phonegap-tips.com/articles/debugging-ios-phonegap-apps-with-safaris-web-inspector.html](http://phonegap-tips.com/articles/debugging-ios-phonegap-apps-with-safaris-web-inspector.html)
