This is a migrated thread and some comments may be shown as answers.

NativeScript CLI and Debugging

2 Answers 50 Views
NativeScript Insiders
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
TJ
Top achievements
Rank 1
TJ asked on 05 Jan 2015, 05:52 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 06 Jan 2015, 08:26 AM
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.

 
0
TJ
Top achievements
Rank 1
answered on 06 Jan 2015, 04:35 PM
Thanks Dimitar,

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

TJ
Tags
NativeScript Insiders
Asked by
TJ
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
TJ
Top achievements
Rank 1
Share this question
or