NativeScript CLI and Debugging

3 posts, 1 answers
  1. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 05 Jan 2015 Link to this post

    When running from the NativeScript CLI I'm curious what my debugging options are (if any). Something as simple as console.log() would be great, especially if I could use it to log stack traces when problems occur.

    Thanks,
    TJ
  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    6 posts

    Posted 06 Jan 2015 Link to this post

    Hi,

    NativeScript CLI does not provide debugging options, but you can use logcat for Android and deviceconsole for iOS to get device logs.

    Regards,
    Dimitar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. TJ
    TJ avatar
    58 posts
    Member since:
    Aug 2013

    Posted 06 Jan 2015 in reply to Dimitar Link to this post

    Thanks Dimitar,

    That helps a lot. I was able to get both tools up and running pretty easily.

    TJ
Back to Top