get_debug_logger
Adds an on-screen debug logger to display logs, warnings, and errors on mobile devices. Useful for H5 games and non-technical testers to view console output without a developer console.
Instructions
🔧 Get on-screen debug logger / 屏幕日志系统 / 调试日志工具.
CALL THIS WHEN user says:
"添加日志工具" / "add logger" / "add debug tool"
"屏幕日志" / "screen log" / "on-screen log"
"看不到日志" / "can't see logs" / "无法查看控制台"
"移动端调试" / "mobile debug" / "手机测试"
"调试工具" / "debug tool" / "debugging"
"显示日志在屏幕上" / "show logs on screen"
Features:
右下角绿色小圆点 → 点击显示日志面板
日志分级 (log/warn/error),自动去重
支持复制日志,自动拦截 console
移动端友好,非程序员也能用
Returns: DebugLogger setup guide + usage. AI can copy files from /Volumes/Q/MiniGame/Mcp/Tank/DebugLogger to project.
Perfect for: H5 games, mobile testing, non-technical users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||