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
# Run directly without installing
bunx krometrail --versionnpm install -g krometrail
krometrail --versionnpx krometrail --versionMCP Configuration
Add Krometrail to your agent's MCP config to expose all tools automatically:
{
"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:
krometrail doctorThis shows each supported language adapter, whether its debugger is installed, and the installed version.
First Steps
- Browser observation — Start recording a session and investigate what happened
- Runtime debugging — Launch a debug session against a Python, Node.js, or Go program
- Agent configuration — Set up Claude Code, Codex, or Cursor