| 3 | |
| 4 | == Remote Debugging on Android Device == |
| 5 | |
| 6 | If you have an Android phone available for development, you can remote-debug the app. |
| 7 | |
| 8 | 1. With the device connected to your USB, open Google Chrome on your computer. |
| 9 | 2. Start the developer console (Ctrl-Shift-I), open the "More"-menu (three dots |
| 10 | on the right), and select "Inspect Devices". |
| 11 | 3. In the left column of the dialog that opens, you will see all USB devices which |
| 12 | are currently connected (so you should find your phone there too). If the entry |
| 13 | for the phone shows "pending authorization", then you must enable USB |
| 14 | debugging on the phone. |
| 15 | 4. Click on the entry for your phone, then choose "Inspect" for the EdenMobile app. |
| 16 | |
| 17 | Now you will see the live screen of your phone in the Chrome window, and you have the full Chrome developer console including HTML inspect, JS debugging with break points, single-stepping etc, to debug the app live on your phone (you can also interact with the app screen in the Chrome window). |
| 18 | |
| 19 | See also: https://developers.google.com/web/tools/chrome-devtools/remote-debugging |