IDebug is experimental. Prefer enabling only in development.
Getting startedInstallation

Installation

Requirements

  • Node.js >= 18.20.5
  • pnpm 9.x (root packageManager: pnpm@9.15.4)

Monorepo (development)

git clone <your-fork-or-upstream>
cd idebug
pnpm install
pnpm build:packages

Workspace packages:

PathPackage nameRole
bin/idebug CLIinit / projects / status
packages/core@idebug/coreSessions, store, redaction, HTTP handler
packages/ui@idebug/uiInspector SPA
packages/node@idebug/nodeExpress SDK
packages/nest@idebug/nestNestJS SDK
packages/db@idebug/dbORM query monitor
packages/react@idebug/reactBrowser SDK + overlay
apps/docs@idebug/docsThis documentation site
samples/*demosExpress :3001, Nest :3002, DB :3003, React :5173
tests/*unit + e2etests/core, tests/db, tests/node, tests/nest

apps/client and apps/server are empty placeholders (not product surfaces yet).

Docs site

pnpm docs:dev
# or: pnpm --filter @idebug/docs dev
# http://localhost:4000

From the monorepo root (or via node path/to/idebug/bin/idebug.mjs):

pnpm idebug init
# non-interactive:
pnpm idebug init -p express --app-name my-api --yes
pnpm idebug projects
pnpm idebug status

The CLI prompts for express | nest | react, installs the matching SDK, writes idebug.config.json (canonical setup record), and scaffolds idebug/setup.ts.

See the monorepo root README for full flags.

Consumer apps (manual)

Until packages are published to npm, consume via workspace or path/workspace protocol:

{
  "dependencies": {
    "@idebug/node": "workspace:*",
    "@idebug/ui": "workspace:*"
  }
}

Or relative path:

{
  "dependencies": {
    "@idebug/node": "file:../idebug/packages/node"
  }
}

Always build @idebug/ui so dist/ exists — the Express/Nest SDKs resolve static assets via:

require.resolve('@idebug/ui/package.json'); // → …/dist

If dist is missing, the JSON/SSE API still works; the SPA returns 503 with a clear error body.

Peer / runtime dependencies

PackageNeeds
@idebug/nodeexpress
@idebug/nest@nestjs/common, Express adapter, reflect-metadata, rxjs
@idebug/reactreact (optional peer for hooks/provider)
@idebug/coreNode 18+ only
@idebug/uinone at runtime (static files)