PHP 8.2.30
Preview: README.md Size: 946 B
//home/byroehnu/easepay.easetack.com/node_modules/@prisma/debug/README.md

# @prisma/debug

A cached [`debug`](https://github.com/visionmedia/debug/).

---

⚠️ **Warning**: This package is intended for Prisma's internal use.
Its release cycle does not follow SemVer, which means we might release breaking changes (change APIs, remove functionality) without any prior warning.

If you are using this package, it would be helpful if you could help us gain an understanding where, how and why you are using it. Your feedback will be valuable to us to define a better API. Please share this information at https://github.com/prisma/prisma/discussions/13877 - Thanks!

## Usage

```ts
import Debug, { getLogs } from '@prisma/debug'

const debug = Debug('my-namespace')

try {
  debug('hello')
  debug(process.env)
  throw new Error('oops')
} catch (e) {
  console.error(e)
  console.error(`We just crashed. But no worries, here are the debug logs:`)
  // get 10 last lines of debug logs
  console.error(getLogs(10))
}
```

Directory Contents

Dirs: 1 × Files: 4

Name Size Perms Modified Actions
dist DIR
- drwxr-xr-x 2026-03-14 01:49:21
Edit Download
127 B lr--r--r-- 2026-03-14 01:49:21
Edit Download
11.09 KB lrw-r--r-- 2026-02-03 15:47:18
Edit Download
1.10 KB lrw-r--r-- 2026-02-03 15:47:14
Edit Download
946 B lrw-r--r-- 2026-02-03 15:47:16
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).