DebugBundle
Project Setup

Project Setup

Configure your DebugBundle project with profiles, connection modes, and environment settings.

Every DebugBundle project lives in a .debugbundle/ directory at your repository root. This directory contains all configuration, local event storage, and generated bundles.

Directory Structure

.debugbundle/
├── profile.json          # Project identity and service map
├── local/
│   ├── connection.json   # Cloud connection and delivery settings
│   ├── events/           # Raw local event files
│   ├── state.json        # Grouped local incident state
│   └── browser-relay-spool/
└── bundles/
  ├── local/           # Generated local bundles
  │   └── reproductions/
  └── cloud/           # Downloaded cloud bundles

Getting Started

Initialize a project with the CLI:

debugbundle setup

This creates the local scaffold with a profile.json based on your repository structure and a .debugbundle/local/connection.json file defaulting to local-only mode.

Configuration Files

FilePurposeReference
profile.jsonProject identity, services, languages, deploymentProfile
local/connection.jsonCloud mode, delivery settings, environment configConnect to Cloud

Operating Modes

DebugBundle supports two operating modes:

ModeDescriptionBest For
Local-onlyAll processing happens on your machine. No cloud, no network.Solo development, air-gapped environments
ConnectedEvents can be sent to DebugBundle Cloud for team-wide visibility.Teams, CI/CD, production monitoring

See Local-Only Mode and Connect to Cloud for detailed guides.

Environment Delivery

In connected mode, you control which environments send events to the cloud and which stay local:

{
  "environments": {
    "local": { "delivery": "local-only" },
    "development": { "delivery": "local-only" },
    "staging": { "delivery": "local-only" },
    "production": { "delivery": "cloud-enabled" }
  }
}

This lets you keep local and pre-production investigation fully offline while sending production events to the cloud for team visibility.

Next Steps

On this page