QNimate

  • CoursesVideos
  • WP PremiumPlugins
  • DemosLab
  • Home
  • QIdea
  • QTrack
Home Carbon Ads Debugging Phonegap Apps

Debugging Phonegap Apps

Phonegap developers use many different hectic methods to debug their phonegap apps. All those methods are limited to the platform for which they are developing the app for, therefore for different platforms they use different methods. In this post I will provide a cross platform solution to debug phonegap apps.

Debugging Using Jsconsole

JavaScript remote debugger allows you to debug any web or phonegap app remotely. It overrides the console.log() method and prints everything to a remote machine.

Steps
1. First visit jsconsole website.
2. In the input field enter “:listen”.
3. Copy the script tag code provide into your phonegap HTML file. Make sure you put it as soon as the head tag starts so that debugging can be started quickly.
4. Now you can debug you phonegap app.

Limitation of this method is that the app cannot be debugged offline. For debugging offline you have to use on platform dependent methods.

Jul 3, 2014Narayan Prusty
Styling Text using CSSPassing Objects To addEventListener

Leave a Reply 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.

8 years ago Cordova, Web Development
Share this
0
GooglePlus
0
Facebook
0
Twitter
0
Linkedin
Related Articles
  • Pull To Refresh For Phonegap App
  • Turn On Flashlight using Intel XDK
  • Debugging Intel XDK APPs
  • Creating Offline Applications using HTML5 Tutorial
  • Customizing Right Click Menu in HTML Page
Our Sponsor
My Books

2014 - 2015 © QNimate
All tutorials MIT license