Breakpoint
This page is automatically synced from
docs-en/breakpoint.md. Language: English | 中文
Breakpoint User Guide
Section titled “Breakpoint User Guide”Breakpoint pauses selected HTTP requests or responses while Bifrost forwards traffic. You can inspect and edit headers or body, then resume delivery. It is designed for interactive API debugging, upstream parameter verification, downstream response simulation, and temporary rewrite experiments.
How It Works
Section titled “How It Works”Breakpoint has two gates:
- The Breakpoint switch in the Traffic toolbar must be enabled.
- The request must match a rule containing
breakpoint://requestorbreakpoint://response.
Only enabling the toolbar switch does not pause traffic. Matched pending traffic is released when Breakpoint is disabled.
Web UI Workflow
Section titled “Web UI Workflow”- Open the Web UI and go to Traffic.
- Enable
Breakpointin the toolbar. - Add a precise rule on the Rules page.
- Send a matching request.
- Open the request detail in Traffic.
- Inspect or edit headers and body in the pause panel.
- Click
Resume.
Rule Examples
Section titled “Rule Examples”api.example.com/v1/users breakpoint://requestapi.example.com/v1/users breakpoint://responseapi.example.com/v1/users breakpoint://request,responseSupported values: request, req, response, res, both, all, and comma combinations. Keep patterns narrow to avoid blocking unrelated traffic.
Timeout
Section titled “Timeout”The auto-resume timeout is configured in Settings -> Performance. Large, binary, or streaming bodies may be shown as header-only to avoid excessive buffering.