- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your kindly reply. Is it possibile to use the same procedure to debug ios app version?
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, if you have a MAC. See this doc page for instructions > https://software.intel.com/en-us/xdk/articles/debugging-xdk-cordova-apps-built-for-ios-using-mac-and-safari <

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page