debug-package

Set up debug logging with namespaces in LobeHub applications.

Updated Jul 5, 2026
One-click install
npx skills add https://github.com/xkl2013/lobe --skill debug-package-xkl2013
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug-package
Source: https://github.com/xkl2013/lobe/tree/main/.agents/skills/debug-package
Command: npx skills add https://github.com/xkl2013/lobe --skill debug-package-xkl2013

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides guidance on using the LobeHub debug package and log namespace effectively, aiding in debugging and troubleshooting within LobeHub applications.

Core Features & Use Cases

  • Namespace Conventions: Offers a clear guide to choosing the correct logging namespace for different modules within LobeHub.
  • Format Specifiers: Explains how to format log messages for clarity and readability.
  • Enable Debug Output: Instructions on how to enable debug logging in various environments, including browsers, Node.js, and Electron.

Quick Start

Utilize the debug-package skill to add debug logging to your LobeHub code by importing the debug module and setting up the appropriate namespace.

Frequently Asked Questions about debug-package

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up debug logging in a LobeHub application?

Debug logging in LobeHub is set up by importing the debug module and configuring the correct namespace. This structured logging framework helps identify issues across code execution and configuration.

What namespace conventions should I use for LobeHub debug logs?

Namespace conventions for LobeHub debug logs involve selecting specific identifiers for different application modules. This structured approach isolates issues in code execution and configuration during troubleshooting.

How do I enable debug output in Node.js and Electron environments for LobeHub?

You can enable debug output in Node.js and Electron by applying specific environment instructions to activate the configured namespaces. This allows targeted log messages to display during troubleshooting.

Can I use format specifiers to structure LobeHub log messages?

Format specifiers can be used to structure LobeHub log messages for better clarity and readability. This technique ensures formatted log outputs are easy to parse during application debugging.

Does the LobeHub debug package support browser environments?

The LobeHub debug package supports browser environments alongside Node.js and Electron. It provides instructions to enable debug logging across these platforms to aid in troubleshooting.