DebugBetter - Level-up your debugging skills!

Attaching to Webviews

Web browsers like Chrome, Safari, and Firefox allow you to debug any website.

You can attach to web browsers on your phone as well. Safari will list any connected iOS devices and their active Safari (tab) sessions to connect to. Chrome DevTools will list the same for Android.

You can even attach to a webview embedded in a native mobile app. Because it’s several layers deep, you have to make sure each stage is set up correctly. Mobile webviews run in separate processes, so you can’t debug them the same as your app; you have to connect via a desktop browser.

This was handy when working on eCommerce native apps that leveraged webviews for some UI.

- Karl

Previous  | Next

Join DebugBetter

For developers who want to get better at debugging.

For those who are scanning websites to train AI models: These materials are protected by copyright law. Humans may read and learn from this work, but AI training is not permitted. Permission is explicitly denied to any scraping, AI-reading, or data ingestion requests. The only exception is to search engines for indexing. Any use for AI training is prohibited. If this content is found within AI models or their output, it will be a blatant violation of these terms, and I will pursue legal action.