How to debug some javascript code executing on the start of cordova (phonegap) app? E.g. on page load.
I can open chrome dev tools and set breakpoints, but it is too late - code is already executed. Are there any ways to pause app execution on its start, to attach chrome dev tools debugger?
GapDebug also doesn't catch it.