/** * Browser console -> dev terminal bridge (development only). * * Why this exists * --------------- * PulsePoint reports every runtime problem through `console.error` with a * `[PP-ERROR]` / `[PP-WARN]` prefix. Those never reached the `npm run dev` * terminal, so a broken route looked identical to a working one unless someone * happened to have DevTools open. An agent editing templates had no feedback * signal at all. * * This wires the browser back to the terminal that is already running: * BrowserSync proxies every request, so a middleware on `POST /__pp-devlog` * costs no extra port. * * The `