Prerequisites
Before installing bdg, ensure you have the following:Node.js
Version 20.0.0 or higher required
npm/yarn/pnpm
Package manager of your choice
Chrome
Google Chrome or Chromium installed
Platform
macOS, Linux, or Windows (WSL only)
Node.js requirement: bdg requires Node.js 20.0.0 or higher. Check your version with
node --version.Install bdg
Choose your preferred package manager:Verify Installation
Confirm bdg is installed correctly:Platform Support
Supported Platforms
macOS
macOS
✅ Fully supportedbdg works out of the box on macOS. Chrome will be automatically located in standard installation paths.
Linux
Linux
✅ Fully supportedWorks on all major distributions. Ensure Chrome or Chromium is installed:
Windows (WSL)
Windows (WSL)
✅ Supported via WSLRun bdg in Windows Subsystem for Linux (WSL 2 recommended):
- Install WSL: Follow Microsoft’s WSL installation guide
- Install Node.js in WSL
- Install Chrome for Linux in WSL
- Install bdg using npm/yarn/pnpm
Windows (Native)
Windows (Native)
❌ Not yet supportedPowerShell and Git Bash are not currently supported. Use WSL as a workaround.
Troubleshooting
Command not found
If you getcommand not found: bdg after installation:
Check npm global path
Ensure npm’s global bin directory is in your PATH:Add
<prefix>/bin to your PATH if missing.Node.js version mismatch
If you see an error about Node.js version:Chrome not found
If bdg can’t locate Chrome:macOS
macOS
Ensure Chrome is installed in the standard location:If Chrome is elsewhere, bdg will attempt to locate it automatically via
chrome-launcher.Linux
Linux
Install Chrome or Chromium:
WSL
WSL
Install Chrome for Linux inside WSL, not Windows Chrome:
Permission errors
If you encounter permission issues during installation:Port conflicts
If you see port already in use errors:Next Steps
Now that bdg is installed, you’re ready to start using it:Quickstart
Start your first debugging session in 60 seconds
Core Concepts
Learn how bdg sessions work
Command Reference
Explore all available commands
Troubleshooting
Get help with common issues

