Verbosity flags
PDD provides two flags to control how much output commands produce.--verbose increases output detail. When set, every LLM call includes:
- Token count for the request and response
- Context window usage as a percentage of the model’s limit
--quiet suppresses all non-essential output for minimal terminal noise:
Inspecting sync state with —dry-run
Usepdd sync --dry-run to inspect what sync would do without executing any operations or acquiring locks. This is safe to run even when another sync process is active.
- Current file state and fingerprint comparisons
- Decision reasoning (heuristic-based or LLM-powered)
- Operation recommendations with confidence levels
- Estimated costs for recommended operations
- Lock status and potential conflicts
- State management details
--dry-run with --verbose:
Core dump bundles
When something goes wrong and you want the PDD team to reproduce the issue, run the failing command with--core-dump:
--core-dump is set, PDD captures:
- The full CLI command and arguments
- Relevant logs and internal trace information for the run
- The prompt files involved
- Generated code
- Key metadata needed to replay the issue
.pdd/core_dumps/ in your project directory. Attach the bundle when opening a GitHub issue so maintainers can quickly reproduce and diagnose the problem.
Reporting a bug with report-core
Thereport-core command creates a GitHub issue from a core dump bundle, collecting the relevant files automatically.
CORE_FILE— path to a core dump file (e.g.,.pdd/core_dumps/pdd-core-....json). If omitted, the most recent core dump is used.
| Option | Description |
|---|---|
--api | Create the issue via the GitHub API instead of opening a browser. Enables automatic Gist creation. |
--repo OWNER/REPO | Override the target repository. Defaults to promptdriven/pdd. |
--description TEXT / -d TEXT | A short description of what went wrong. |
Authentication for —api
To use--api, PDD needs a GitHub token. It checks for credentials in this order:
- GitHub CLI —
gh auth token(recommended) - Environment variables —
GITHUB_TOKENorGH_TOKEN - Legacy variable —
PDD_GITHUB_TOKEN
gh installed and authenticated, --api works without any additional setup.
API vs browser submission
With --api (recommended)
With --api (recommended)
When you pass
--api, PDD:- Collects all relevant files (prompts, code, tests, configs, and meta files).
- Creates a private GitHub Gist containing these files.
- Opens a GitHub issue with the Gist linked in the body.
Without --api (browser)
Without --api (browser)
Without
--api, PDD opens your browser with a pre-filled issue form. Files are truncated to fit within URL length limits, so some context may be missing for large runs.Use this method if you are not authenticated with GitHub CLI and do not have a GITHUB_TOKEN available.Examples
Core dump bundles may contain prompt text and generated code from your project. Review the bundle before reporting if your prompts contain sensitive information.