Remote Opera Debugging on Android
Join the DZone community and get the full member experience.Join For Free
the final article on remote debugging web applications on mobile devices shows how you can do this using opera mobile. with opera mobile you can easily debug web applications running on android, without needing an usb connection (b.t.w you can also debug web application on firefox without usb). in this article i'll quickly walk you through the steps required to setup the debug connection.
if you want to use a different mobile browser see these two articles:
using opera for this, is just as simple as using firefox or chrome. all you need to do is the following:
- setup opera on the desktop to listen for debug connections
- start a debug connection from opera mobile
- start debugging
since we won't be working with an usb cable, you'll need to know the ip address of your desktop. you can use the ipconfig/ifconfig command in a terminal to get this address.
setup opera on the desktop to listen for debug connections
open opera and start "opera dragonfly" from the menu (tools->advanced->opera dragonfly). this will show the debugging console at the bottom of the current page. click on the "remote debug configuration" button and you'll be shown the following screen:
just click on "apply" here, and opera will wait for a connection request from a remote device.
start a debug connection from opera mobile
now open opera mobile on your phone or tablet and point your browser to "opera:debug".
enter the ip-address you looked up earlier and click on 'connect'. this will setup a connection between opera on your mobile device and on your desktop. now you can open the website you want to debug in a new tab on your device and use opera on your desktop to debug the specific tab.
and that's all you have to do.
Published at DZone with permission of Jos Dirksen, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.