Responsible JavaScript

Responsible JavaScript

Jeremy Wagner

A better alternative for local testing is Chrome’s remote-device debugging tool, which spins up a developer-tools instance for an Android device connected to a laptop or desktop. If the connected device has USB debugging enabled (http://bkaprt.com/rjs39/03-16), you can access any pages the device has open in Chrome on the host machine’s developer tools by pointing Chrome to chrome://inspect#devices (Fig 3.21). You can launch an instance of Chrome’s developer tools from the debugging tool’s home screen by clicking on the Inspect link for a page. From there, you can use Chrome’s performance profiler to record page activity as you normally would
1315-1322