Android WebView Debugger

•
4
•

Enables and reverts WebView remote debugging across Android projects while tracking changes for safe restoration.

This skill automates the management of WebView remote debugging in Android projects by globally toggling the setWebContentsDebuggingEnabled flag. It performs a comprehensive search of the codebase to identify debugging configurations, allowing developers to enable Chrome DevTools project-wide with a single command. To ensure safety, the skill maintains a state file that records original code values and line numbers, enabling a precise revert process that intelligently detects manual code changes and prompts for confirmation, preventing accidental regression or loss of production settings.

主な機能

01Collision detection for manual edits made during debugging sessions
02Smart classification of active code versus commented-out lines
03State tracking via .android-webview-debug-state.json for safe reverts
044 GitHub stars
05Interactive confirmation for inconsistent entries during restoration
06Automated codebase search for setWebContentsDebuggingEnabled calls

ユースケース

01Enabling Chrome DevTools for hybrid Android apps during QA and debugging
02Quickly toggling remote debugging for legacy projects with multiple WebView instances
03Ensuring debug flags are safely and completely reverted before a production release