QNimate

  • CoursesVideos
  • WP PremiumPlugins
  • DemosLab
  • Home
  • QIdea
  • QTrack
Home Carbon Ads Debugging Intel XDK APPs

Debugging Intel XDK APPs

This post is a part 2 of Intel XDK Complete Tutorial post series.

In this tutorial I will show you how to debug Intel XDK apps while running it in emulator or real device. It doesn’t matter what kind of app you are building, debugging is always necessary.

Debugging while app is running in emulator

Intel XDK provides a built in debugger for debugging apps while its running in emulator. You can access it by clicking on the spider button on top left of emulate tab.

Screen Shot 2015-01-23 at 7.58.23 pm

Debugging while app is running in real device

There are two ways to run a Intel XDK app in real device i.e., Intel App Preview or app binary installed.

In both bases Intel XDK provides an remote debugger to debug the app while its running in real device. This remote debugger is actually Intel’s integrated weinre remote debugger.

Capture

To use this debugger switch to Test tab in Intel XDK IDE and then below you will find a <script> tag, copy and paste it in <head> tag of your app source code. Now click on the Begin Debugging Session button to launch the debugger and start listening to new debugging session. Then run your app.

Jan 23, 2015Narayan Prusty
Web Animation API TutorialIntegrating Youtube in Intel XDK APPs
Comments: 1
  1. Joaquim
    6 years ago

    I’m trying to email the Intel XDK and not be working. It does not send, no effect. The version of my Intel XDK 3357.
    The cord-email-composer plugin is installed on my project. I am using the Bootstrap framework.
    In the first example, I use intel.xdk.device.sendEmail and second, use the cordova.plugins.email.open.

    I’ve done two code:
    First example:

    function enviar3()
    {
    alert(“sss”);
    intel.xdk.device.sendEmail(“yyyyy”,
    “ajjaf77@gmail.com”,
    “teste”, // The subject
    true, // Is Html
    “”, // CCed
    “” // BCCed
    )};

    Segundo exemplo:

    cordova.plugins.email.open({
    to: ‘ajjaf77@gmail.com’,
    cc: ‘ajjaf@bol.com.br’,
    subject: ‘Greetings’,
    body: ‘How are you? Nice greetings from Leipzig’
    });

    ReplyCancel

Leave a Reply to Joaquim Cancel reply

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

Narayan Prusty

I am a software engineer specialising in Blockchain, DevOps and Go/JavaScript. This is my personal blog where I write about things that I learn and feel interesting to share.

7 years ago 1 Comment Cordova
Share this
0
GooglePlus
0
Facebook
0
Twitter
0
Linkedin
  • Debugging while app is running in emulator
  • Debugging while app is running in real device
Related Articles
  • Building Intel XDK APP for Adhoc and App Store
  • Using Intel XDK Find if App is Running in Emulator or Device
  • Create a Chat App using Intel XDK and XMPP
  • Working with File System using Intel XDK
  • Integrating Local Notifications in Intel XDK
Our Sponsor
My Books

2014 - 2015 © QNimate
All tutorials MIT license