What problem does it solve?
This skill helps developers quickly diagnose runtime issues by reading and analyzing the Cocos Creator project.log for errors, warnings, and stack traces. It is the recommended first step before deeper debugging sessions, especially for bug reports, crashes, UI glitches, and initialization failures.
Core Features & Use Cases
- Read and parse the Cocos Editor Preview log file (project.log) to capture console outputs (log, warn, error) and preserve history across sessions.
- Filter logs by symptoms and keywords (e.g., TypeError, Cannot, undefined, null) and examine stack traces to identify the root cause.
- Apply to scenarios such as CompositePanel mount failures, ChildPanel routing issues, missing assets, or screen wiring problems, guiding targeted fixes.
Quick Start
Describe the runtime symptom and I will analyze the latest project.log to surface errors and stack traces.