Skip to content

Getting Started

Krometrail gives your coding agent runtime context it can't get from source code alone. Record a browser session while you reproduce a bug, drop a marker, and hand it off — your agent gets the network requests, console errors, framework state, and screenshots it needs to investigate. It also bridges the Debug Adapter Protocol (DAP) so your agent can set breakpoints, step through code, and inspect variables across 10 languages.

Prerequisites

  • Bun (recommended) or Node.js 18+
  • For debugging: language-specific debuggers (check with krometrail doctor)

Install

bash
# Run directly without installing
bunx krometrail --version
bash
npm install -g krometrail
krometrail --version
bash
npx krometrail --version

MCP Configuration

Add Krometrail to your agent's MCP config to expose all tools automatically:

json
{
	"mcpServers": {
		"krometrail": {
			"command": "bunx",
			"args": ["krometrail", "--mcp"]
		}
	}
}

The agent will discover debug_*, chrome_*, and session_* tools automatically — no further setup needed.

Verify the Installation

Check that debuggers are available for the languages you need:

bash
krometrail doctor

This shows each supported language adapter, whether its debugger is installed, and the installed version.

First Steps

Released under the MIT License.