dd-debugger

Featured

Live Debugger - inspect runtime argument/variable values in production by placing log probes on methods. Use when asked what values a function receives, what parameters look like at runtime, or to capture live data from running services without redeploying.

Code & Development 948 stars 90 forks Updated 2 days ago Apache-2.0

Install

View on GitHub

Quality Score: 96/100

Stars 20%
99
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Datadog Live Debugger Place log probes on running services without redeploying. Create probes with custom templates and conditions, and stream captured events in real time. ## Prerequisites `pup` must be installed: ```bash brew tap datadog-labs/pack && brew install pup ``` ## Authentication Authenticate via OAuth2 (recommended) or API keys: ```bash # OAuth2 (recommended) pup auth login # Or use API keys export DD_API_KEY="key" DD_APP_KEY="key" DD_SITE="datadoghq.com" ``` ## Typical Workflow **Prefer `--capture` expressions** over full snapshots. Capture expressions are lighter-weight, faster, and return exactly the data you need. 1. If you don't know the service, **ask the user** before proceeding. 2. **Verify the service** using `pup debugger context <service>` to list environments with active instances. If multiple environments exist, **ask the user** which one to target before proceeding. 3. **Find a method** using the `dd-symdb` skill (`pup symdb search --view probe-locations`) 4. **Place a probe** with capture expressions for the values you need 5. **Watch** events with `--fields` for compact output 6. **Delete** the probe when done ```bash # 0. List environments (if multiple, ask user which to use) pup debugger context my-service --fields service,language,envs # 1. Create a probe with capture expressions (recommended) # Use --fields id to get just the probe ID back pup debugger probes create \ --service my-service \ --env production \ --probe-loc...

Details

Author
datadog-labs
Repository
datadog-labs/pup
Created
5 months ago
Last Updated
2 days ago
Language
Rust
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

dd-debugger

Live Debugger - inspect runtime argument/variable values in production by placing log probes on methods. Use when asked what values a function receives, what parameters look like at runtime, or to capture live data from running services without redeploying.

0 Updated 3 months ago
udbfd68-cell
Code & Development Listed

debug

Interactive runtime-evidence debugger for ANY language (frontend, backend, CLI, worker, mobile, shell). USE THIS (instead of adding a print/console.log and asking the user to eyeball it) when about to: "add a log and ask user to check", "open DevTools and tell me what you see", "reproduce the bug and share the output", "check the console/terminal output". Triggers: "debug this", "fix this bug", "why isn't this working", "investigate this issue", "trace the problem", "value is null/undefined", "request returns wrong data", "handler never runs", "UI not updating", "panic/exception thrown". Runs a localhost log server, instruments code, asks YOU to reproduce, reads logs directly (no copy-paste), then interactively confirms with you whether the bug is fixed before cleaning up.

0 Updated 2 days ago
Myra-Agents
AI & Automation Listed

debug

Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

20 Updated 4 days ago
charlieviettq