Starting Chrome with Debug Port
Configuration
| Variable | Default | Description |
|---|---|---|
FERAL_CDP_PORT | 9222 | Chrome DevTools Protocol port |
FERAL_CDP_HOST | localhost | CDP host address |
Troubleshooting
- Connection refused on port 9222 — Chrome isn’t running with
--remote-debugging-port=9222. Start it manually or let FERAL auto-launch. - Profile lock / conflicts — Two Chrome instances sharing the same
--user-data-dirwill conflict. Use a dedicated dir like/tmp/feral-chrome. - Playwright not available — FERAL falls back to raw CDP. Install
playwrightand runplaywright install chromiumfor full click/type support. - Stale page refs — ARIA refs are tied to the latest
snapshot(). If a ref stops working, take a fresh snapshot. - Checking logs — Browser logs under
feral.skill.browser. SetFERAL_LOG_LEVEL=DEBUGfor per-CDP-method elapsed_ms timing.
