Coder Social home page Coder Social logo

mobiletainment / debuggablebrowser Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 97 KB

This browser allows you to inspect and debug your web page with Chrome DevTools while it's running on the Android native browser

Home Page: https://www.pertiller.tech

License: MIT License

Java 100.00%
chrome-devtools android-stock-browser webview debugging android browser

debuggablebrowser's Introduction

DebuggableBrowser

This browser allows you to inspect and debug your web page with Chrome DevTools while it's running on the Android native browser. This should help web developers and web designers identify and solve problems that are specific to the Android stock browser.

Why oh why would I need this?

Does your web site look broken on the Android stock browser?
Do you have Android specific defects you want to understand and solve?

What is it exactly?

A debug-enabled WebView, allowing you to use Chrome DevTools to inspect and debug your web app while its running on your device.

Screenshot

Explanation

It sometimes happens that a web app doesn't work on mobile browsers, even though it's working fine on desktop browsers. Even worse, sometimes defects occur only on (certain) mobile devices, so you cannot simulate and reproduce it on a desktop browser. This is where remote debugging with Chrome's DevTools proves to be useful. While Chrome for Android perfectly supports this already, the Android stock browser doesn't. This is unfortunate, since a lot of Android bugs seem to occur only on the stock browser and not on Chrome anyways.
So this app lets you run web sites within the native browser (WebView), while giving you the possibility to inspect and debug the page with the Chrome DevTools.

How to enable remote debugging?

  1. Get a device running on Android 4.4 or higher
  2. Enable Developer Mode on your device and connect it to your PC/Mac
  3. Navigate to your web site by entering the URL in the app
  4. On your PC/Mac, open Chrome and type "chrome://inspect" into the address bar
  5. In Chrome, check "Discover USB Devices" and it will list the web page you've opened on your device
  6. Hit inspect and enjoy remote debugging the app with the Chrome Developer Tools

debuggablebrowser's People

Contributors

mobiletainment avatar

Watchers

 avatar  avatar  avatar

Forkers

jackcn2004

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.