Skip to content
D

debug

Debug package usage guide

by lobehubFree

Launch
#1008in AI Skills
0In stores

Description

debug is an agent skill from the LobeHub repository that explains how to add debug logging with the debug package. It is for code that needs…

Highlights

  • Shows how to create debug loggers with a namespace
  • Explains the lobe-[module]:[submodule] namespace convention
  • Covers %O and %d format placeholders
  • Quick reference for contributors in the monorepo

Ratings & Reviews

No ratings yet

Be the first to rate debug.

People also visit

A

add-provider-doc

Add documentation for a new AI provider

AI Skills
Launch
A

add-setting-env

Add server-side environment variables

AI Skills
Launch
D

desktop

Electron desktop development guide

AI Skills
Launch
H

hotkey

Keyboard shortcuts, registration, key combinations, scope

AI Skills
Launch
M

microcopy

UI copy and microcopy guidelines

AI Skills
Launch
M

modal

Modals, dialogs and confirmations

AI Skills
Launch

debug FAQ

What package does it cover?

The debug logging package, used with a namespace per module.

What is the namespace format?

lobe-[module]:[submodule], for example lobe-server:market.

How do I log an object?

Use the %O placeholder in the format string, which the skill's example shows with a log call.

How do I install it?

Run npx skills add https://github.com/lobehub/lobehub --skill debug.

Which security audits does it have?

On skills.sh, Gen Agent Trust Hub, Socket and Snyk all pass.

What are the best debug alternatives?

Popular alternatives to debug include add-provider-doc, add-setting-env and desktop. See all debug alternatives

Developer Stuff

Badges