Remote Debugging

Amazon Silk provides remote debugging through Chrome DevTools. With remote debugging,
you can
use your development machine to inspect and interact with pages displayed in Silk
on a separate
device. Remote debugging must be enabled on the device, and
Google Chrome must be installed on your
development machine.

From the Silk browser, tap the menu icon. If you see this menu, you have the latest
version
of Silk. Use the following procedure for remote debugging. If your menu looks different,
you may
have an older version of Silk. Follow the procedure in Remote Debugging for Older Versions of Silk.

This version of Fire OS is available on Fire tablets manufactured in 2014. If you
do not see the Developer Options option in the Device
Options menu, tap the Serial Number field several
times to turn on developer mode.

Open the Silk browser and enter about:developer in the URL bar. A
dialog opens, giving you the option to enable developer settings. (If entering
about:developer doesn't open the dialog, Silk may need to be
updated before you can use remote debugging.) If you want to proceed, tap
Enable. Developer options appear at the bottom of the Settings menu.

Tap Remote Debugging. In the dialog, select the
connection type that fits your development environment. Then connect as follows:

Unix Domain Socket (only available on a
Unix-based development machine) – Connect the device to the development machine
via USB.

TCP (available on Windows) – Ensure that
both the device and the development machine are connected to the same network.

While the URL for the Unix Domain Socket is always http://127.0.0.1:9222/,
the URL for TCP varies by device. Thus, if you're enabling a TCP connection, note
the URL
listed in the Settings menu.

Debug your site

With Chrome and ADB installed, and remote debugging enabled on the device, you're
ready
to debug.

Using Silk on the device, navigate to the page you want to inspect. You can inspect
multiple pages by opening each page in its own tab.

Follow the directions for your remote debugging configuration:

Unix Domain Socket: To inspect open tabs, run the
following:

adb forward tcp:9222 localabstract:com.amazon.cloud9.devtools

Then navigate to http://127.0.0.1:9222/ in Chrome on your development machine.

TCP: To inspect open tabs, ensure that both your
device and development machine are connected to the same network. Then navigate to
the
remote debugging URL in Chrome on your development machine. This URL is listed in
the
Settings menu.

Pages that are open in Silk tabs are listed at the remote debugging address.

Open inspectable pages and interact with them using the developer tools. To learn
more
about inspecting pages with the developer tools, see Chrome DevTools.

Javascript is disabled or is unavailable in your browser.

To use the AWS Documentation, Javascript must be enabled. Please refer to your browser's
Help pages for instructions.