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

吃可爱长大的小学妹 提交于 2019-12-23 02:59:07

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/28046814/how-do-i-step-through-cordova-code-when-the-app-starts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!