debug javascript in android emulator with phonegap

前端 未结 16 1827
抹茶落季
抹茶落季 2021-01-30 02:45

I am new to phonegap and android development. May I know how can I debug javascript error on the emulator? I have heard about ADB may I know how can I use and install it on wind

16条回答
  •  庸人自扰
    2021-01-30 03:41

    You can now use Chrome dev tools to remotely debug Android Phonegap apps! I wrote up instructions here: Remote debugging Phonegap apps with Chrome Dev Tools

    Steps for Android emulator:

    1. Navigate to chrome://inspect/ in Google Chrome on your desktop computer.
    2. Locate Android emulator on Devices tab and click 'inspect' link

    See also Get Started with Remote Debugging Android Devices

提交回复
热议问题