BugFinder Debug Logger

Real-time debugging and monitoring for your web applications

Quick Start

Add this script to your website to start capturing logs:

<script src="http://localhost:3069/debugger.js?platform=myapp"></script>

Add this before the closing </body> tag

Platform Parameter Options:

?platform=myapp - Query parameter
data-platform="myapp" - Data attribute

Replace "myapp" with your platform name

Configuration

The snippet will automatically:

  • Capture all console logs (log, error, warn, info, debug)
  • Intercept fetch requests and responses
  • Track cookies, localStorage, and sessionStorage
  • Detect application rebuilds
  • Batch and send logs every 30 seconds
  • Persist logs across page navigation
  • Separate sessions by platform for multiple apps

⚠️ Important Security Note

This tool captures sensitive information including cookies, localStorage, and API responses. Only use in UAT/development environments. Never use in production without proper security measures.

Database Setup

Before using, configure your Vercel Postgres credentials in .env.local

Then run: node scripts/setup-db.js to create the tables.