# Strategic debug logging (/debugging--console-debug)

/debugging--console-debug is a Claude Code skill in the Code section. Adds debug logs at key points of your code to trace a bug, each tagged so it can be removed in one pass once the bug is found.

- Web version: https://skills.sgomez.dev/en/s/debugging--console-debug
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/debugging/console-debug.md
- Updated 30 Mar 2026

## How to ask for it

- `/debugging--console-debug add logging to trace this checkout bug`
- `/debugging--console-debug help me place console.log in the right spots`
- `/debugging--console-debug trace this error step by step with logging`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install debugging-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*`
- Runs: —
- Network: No
- Destructive: No

## Author's description

Add strategic debug logging to trace a bug through the code

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
