DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Testing, Tools, and Frameworks
  4. Remote Opera Debugging on Android

Remote Opera Debugging on Android

Jos Dirksen user avatar by
Jos Dirksen
·
Aug. 24, 12 · Interview
Like (0)
Save
Tweet
Share
3.42K Views

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:

  1. remote debugging using firefox
  2. remote debugging using chrome .

using opera for this, is just as simple as using firefox or chrome. all you need to do is the following:

  1. setup opera on the desktop to listen for debug connections
  2. start a debug connection from opera mobile
  3. 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.

platform-tools — bash — 80ã—24.png

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:

news portal - home.png

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".

2012-08-10_12-22-51.jpg

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.

news portal - home-1.png

and that's all you have to do.

Opera (web browser) remote Opera Mobile mobile app Debug (command) Android (robot) Connection (dance)

Published at DZone with permission of Jos Dirksen, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How to Create a Real-Time Scalable Streaming App Using Apache NiFi, Apache Pulsar, and Apache Flink SQL
  • Bye Bye, Regular Dev [Comic]
  • Differences Between Site Reliability Engineer vs. Software Engineer vs. Cloud Engineer vs. DevOps Engineer
  • Mr. Over, the Engineer [Comic]

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: