Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Giovanni_S_
Beginner
60 Views

How I can see log when build run on real device?

Hi,

There is any way to access to application logs (logged using console.log) generated when app is running by real build on real device?

I usually use debug mode to see logs, but, now, i need to run app by build and see logs.

Thanks in advance.

 

Tags (2)
0 Kudos
4 Replies
Elroy_A_Intel
Employee
60 Views

You recommend using the Debug tab as you will be running the application locally on your device while having access to all of the logs, network traffic and more. You can also see logs using the script provided under the Test Tab.

Rakshith_K_Intel
Employee
60 Views

You can debug installed app using Chrome, its complicated:

 

In the develop tap, open intelxdk.config.additions.xml file

You will see a line:

<preference name="debuggable" value="false" />

change this to 

<preference name="debuggable" value="true" />

 

Build App using XDK and install on device.

Connect device to computer using USB.

Open Chrome and install "ADB plugin" extension.

Start the app on device.

On Chrome, click ADB icon and select "View Inspection Targets"

select the app id in the list displayed in Chrome, it will open debug console and u can debug and see console logs

 

Change the debug back option to false when u have to submit the app to google playstore

 

Giovanni_S_
Beginner
60 Views

Thank you for your kindly reply. Is it possibile to use the same procedure to debug ios app version?

Thank You

PaulF_IntelCorp
Employee
60 Views

Reply