CordovaDebugging the application


Remarks

Important thing to remember when debugging cordova apps, if you have an OnDeviceReady event and code that executes there, by the time the app launches, your debugger will still not be attached(unlike say Visual Studio C# debugging where application waits for the debug process to attach before continuing with launching the program).

This means that any initial set up console messages or breakpoints will not be captured.

Solution for this can be a delayed set up or delayed console logging with setTimeout when DeviceReady event is fired.