Unified remote WebView debugging switch within Android projects. android-webview-debug-enable sets all setWebContentsDebuggingEnabled calls to true and records modification locations and original contents; android-webview-debug-revert restores entries according to the record, and items that don't match the record are listed at the end for manual confirmation. Suitable for Android projects that need to uniformly enable or revert WebView debugging.
setWebContentsDebuggingEnabled calls in the project to true, and record modified locations with their original content for later revert..android-webview-debug-state.json in the project/workspace root directory.{
"version": 1,
"createdAt": "ISO8601",
"projectRoot": "/absolute/path/to/project",
"entries": [
{
"file": "app/src/main/java/.../CoreWebView.kt",
"line": 42,
"original": "setWebContentsDebuggingEnabled(AppContext.isDebug())",
"replaced": "setWebContentsDebuggingEnabled(true)"
}
]
}
true are not included). Recommend adding .android-webview-debug-state.json to .gitignore to avoid accidental commits.setWebContentsDebuggingEnabled occurrences (including commented lines), list all locations..android-webview-debug-state.json already exists in the project root, first prompt: "An enable record already exists. Overwrite and continue?" Wait for user confirmation before overwriting.entries for items about to be changed and write .android-webview-debug-state.json (path: project root).setWebContentsDebuggingEnabled(true). Do not modify commented-out calls by default, unless the user explicitly says "also change commented ones" or "uncomment them"..android-webview-debug-state.json from the project root. If not found, prompt: "No enable record found, cannot revert" and exit.replaced (or check if it contains setWebContentsDebuggingEnabled(true)).original (restore pre-modification content).setWebContentsDebuggingEnabled calls by default; user can override with a single phrase (e.g., "also change commented ones").setWebContentsDebuggingEnabled calls in the project should be true, and .android-webview-debug-state.json should exist in the root with entries matching this session's modifications.original in the state file; mismatched entries should be listed and processed per user confirmation.npx skills add FuDesign2008/Android WebView 调试下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer