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 823 stars 78 forks Updated 2 days ago Apache-2.0

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
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
3 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