Advanced tools

Go beyond passive capture. ProxyHawk's advanced tools let you pause and edit live traffic, mock backends, block requests, and simulate poor network conditions — all without changing your app code.

Breakpoints

Breakpoints pause a matching request or response before it completes, so you can inspect, edit, and decide whether to continue or abort.

What you can do with breakpoints:

To add a breakpoint: right-click a row in the traffic list and choose Add Breakpoint, or go to Tools → Breakpoints and add a URL pattern manually.

Avoid broad patterns in shared environments: Breakpoints block matching traffic until you manually continue. Overly wide patterns (like *) can freeze many requests at once.

Block rules

Block rules drop or return an error for matching requests — no server call is made.

Useful for:

Add block rules in Tools → Block Rules. Rules match by URL pattern and can be toggled on/off without deleting them.

Map Local

Map Local serves a file from your Mac instead of making the real network request. No server, no deploy.

Use Map Local when:

To add a Map Local rule: go to Tools → Map Local, add a URL pattern, and point it to a local file (.json, .html, or any format). ProxyHawk serves that file's contents as the response body.

Map Remote

Map Remote redirects matching traffic to a different host or URL — without changing your app's configuration.

Use Map Remote when:

Add rules in Tools → Map Remote. Specify the source pattern and the destination URL.

Scripts

Scripts run custom code on matching requests or responses — useful for transformations that are too dynamic for static rules.

What scripts can do:

Scripts are trusted code. Only enable scripts you understand — they run with access to the full request/response. See Security & privacy for details.

Network throttling

Throttling artificially limits bandwidth and increases latency to simulate slow or unstable connections.

Use throttling to catch:

Enable throttling in Tools → Network Throttling. Presets include 3G, slow Wi-Fi, and offline, or set custom bandwidth and latency values.

Recommended debugging workflow

  1. Capture and filter — isolate the failing request in the traffic list using filters or pins.
  2. Inspect — open the detail pane to check headers, body, and status code for the root cause.
  3. Reproduce precisely — add a breakpoint to pause the exact request and confirm your hypothesis.
  4. Mock the fix — use Map Local or Map Remote to serve the corrected response and verify the UI handles it correctly.
  5. Block and test fallbacks — block the endpoint entirely to confirm your error states work.
  6. Throttle and confirm — run the scenario under slow network to validate loading states and timeouts.
  7. Export for regression — export the key requests to a Postman collection so the fix is verifiable by your team.