Debug Backend Code. Catch Server Crashes. Zero Downtime.
KodeDog is a specialized backend-only runtime debugger and crash sentry for NestJS, Express, Fastify, and Node.js microservices. It isolates server faults, intercepts unhandled promise rejections, and captures forensic crash diagnostics before your process exits.
// main.ts (NestJS Backend)
import { NestFactory } from "@nestjs/core";
import { AppModule } from "./app.module";
import { KodeDogExceptionFilter } from "@wispro/kodedog";
async function bootstrap() {
const app = await NestFactory.create(AppModule);
// Global exception filter catches all controller & service exceptions
app.useGlobalFilters(
new KodeDogExceptionFilter({
apiKey: process.env.MONITORJS_API_KEY,
serviceName: "payments-core-api",
environment: "production",
})
);
await app.listen(4000);
}
bootstrap();Purpose-Built for High-Throughput Server Engines
Unhandled Promise & Crash Trapping
Hooks into `process.on('unhandledRejection')` and `process.on('uncaughtException')` to generate complete stack context before a server thread aborts.
Database & ORM Failure Tracing
Detects SQL pool exhaustions, Prisma/TypeORM deadlocks, Redis timeout bottlenecks, and microservice RPC dropped connections.
Memory Leaks & Heap Protection
Monitors Node.js V8 heap allocations and event loop lag, raising warnings before OOM (Out Of Memory) container terminations occur.
Integrate Into Your Backend in 3 Steps
Add NPM Package
Attach Global Middleware / Filter
Zero Downtime Forensics
Ready to Bulletproof Your Backend Services?
Read the package documentation on the official registry or talk to our distributed backend team for custom enterprise telemetry.

