debuggingcordovaweb-inspectorstep-into

How do I step through Cordova code when the app starts?


When I debug a Cordova app what I constantly do is step through its code inside Chrome's WebInspector. In order to be able to do this, however, I have to wait for the device to become ready in chrome://inspect/#devices (only then can I click on the appearing link for the started app). But if I do this the inspector will not halt on breakpoints if I am not quick enough. How do experienced Cordova developer tackle this issue?


Solution

  • Additionally to frank's comment I just found GapDebug which offers instant debug and, thus, comes close to what I deserve.