The Intel® XDK provides multiple ways to debug and test your app. This topic provides a summary of the debugger and device preview/test features, and helps you choose which features to use based on your current development needs.
This topic explains why running an app in the device simulator differs from running it on actual device(s).
NOTE: As of August 16, 2017, Intel App Preview has been retired and is no longer available in the respective mobile app stores; if you already have a copy of Intel App Preview on your test device it will continue to work, but you can no longer download it from a mobile store for new installations.
Using the Google* Chrome browser on your workstation with Chrome* DevTools running on your Android device (remote CDT) is a very powerful debugging environment. Using remote CDT, you can debug a built app as it runs directly on your device. Nearly 100 percent of the functionality of Chrome DevTools is available to you; it's as if you are debugging a browser app on your local workstation.
If you own a Mac* and an Apple* developer account, you can utilize Web Inspector in Safari* to remotely debug an iOS* Cordova app in a way that is analogous to using Remote Chrome* DevTools with an Android* device running a Cordova app. This process requires that you use a Mac and that your iOS device is attached to the Mac via a USB cable.
Debug Tab [RETIRED]
NOTE: As of December 12, 2016, the Intel® XDK Debug tab has been retired. You can no longer build debug modules with any version of the Intel XDK.
In addition, you can use weinre by installing a weinre server directly onto your development system. For additional help on using weinre locally, watch Using WEINRE to Debug an Intel® XDK Cordova* App (beginning at about 14:30 in the video).
window.location.reload() function. An example of using this technique can be seen in this video, starting at about 18:30. The video is demonstrating the use of the weinre debugger, but the debugging techniques can also be applied to remote CDT and remote Web Inspector when debugging a built app.
NOTE: Intel App Preview for Android is distributed with remote debug enabled. This means that you can use remote CDT to debug your app within App Preview using a USB connection, as long as you restrict your debugging efforts to only that code which interacts with the core Cordova plugins. App Preview does not support third-party plugins, only the "core" Cordova plugins; therefore, you cannot debug those parts of your app that interact with third-party Cordova plugin APIs within App Preview (this has always been a restriction of App Preview).