debug
✓通过添加结构化日志记录来调试代码。启动本地 HTTP 服务器以进行浏览器/远程日志记录以及可选的实时日志查看器。在调试问题、跟踪错误或用户说 /debug 时使用。
SKILL.md
Add structured logging to track down bugs. Uses a local log file in /tmp and an optional HTTP server for browser-side logging.
Start the log viewer ONLY when the user asks to view logs, see logs, watch logs, or similar requests.
If the output is empty (no uncommitted changes), note this. After extensive debugging iterations, if the final fix is small, you can use git checkout -- . or git restore . to reset all instrumentation instantly instead of manually removing debug code. This is much faster than cleanup.
通过添加结构化日志记录来调试代码。启动本地 HTTP 服务器以进行浏览器/远程日志记录以及可选的实时日志查看器。在调试问题、跟踪错误或用户说 /debug 时使用。 来源:shaoruu/cursor-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/shaoruu/cursor-skills --skill debug- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-05
- 更新时间
- 2026-02-18
快速解答
什么是 debug?
通过添加结构化日志记录来调试代码。启动本地 HTTP 服务器以进行浏览器/远程日志记录以及可选的实时日志查看器。在调试问题、跟踪错误或用户说 /debug 时使用。 来源:shaoruu/cursor-skills。
如何安装 debug?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/shaoruu/cursor-skills --skill debug 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/shaoruu/cursor-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-05