Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

On this pageOverview

debug

The prisma debug command prints information helpful for debugging and bug reports.

prisma debug [options]
Option Description
-h, --help Display help message
--config Custom path to your Prisma config file
--schema Custom path to your Prisma schema
title="bun"
bunx prisma debug
pnpm
pnpm prisma debug
yarn
yarn prisma debug
npm
npx prisma debug

Output:

-- Prisma schema --

Path: /prisma/schema.prisma

-- Local cache directory for engines files --

Path: /.cache/prisma

-- Environment variables --

When not set, the line is dimmed and no value is displayed.

When set, the line is bold and the value is inside the `` backticks.

For general debugging

 - CI:

 - DEBUG:

 - NODE_ENV:

 - RUST_LOG:

 - RUST_BACKTRACE:

 - NO_COLOR:

 - TERM: `xterm-256color`

 - NODE_TLS_REJECT_UNAUTHORIZED:

 - NO_PROXY:

 - http_proxy:

 - HTTP_PROXY:

 - https_proxy:

 - HTTPS_PROXY:

For hiding messages

 - PRISMA_DISABLE_WARNINGS:

 - PRISMA_HIDE_PREVIEW_FLAG_WARNINGS:

 - PRISMA_HIDE_UPDATE_MESSAGE:

For downloading engines

 - PRISMA_ENGINES_MIRROR:

 - PRISMA_BINARIES_MIRROR (deprecated):

 - PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING:

 - BINARY_DOWNLOAD_VERSION:

For custom engines

 - PRISMA_SCHEMA_ENGINE_BINARY:

 - PRISMA_MIGRATION_ENGINE_BINARY:

For Prisma Client

 - PRISMA_SHOW_ALL_TRACES:

For Prisma Migrate

 - PRISMA_SCHEMA_DISABLE_ADVISORY_LOCK:

For Prisma Studio

 - BROWSER:

-- Terminal is interactive? --

true

-- CI detected? --

false

If using an older Prisma version:

title="bun"
bunx prisma@prev debug
pnpm
pnpm dlx prisma@prev debug
yarn
yarn dlx prisma@prev debug
npm
npx prisma@prev debug
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu