Portable Network Captures
TraceBug can export a session's captured network activity as a standard HAR 1.2 (HTTP Archive) file — the interchange format every browser DevTools, Charles, Fiddler, and Postman reads. A capture drops straight into any existing network-debugging workflow.
🌐 Your network capture is a standard file you own
No competitor in the category ships a HAR export — Jam even markets "everything a HAR offers" without one. Because TraceBug already captures the request/response data and runs zero-backend, exporting it as a portable, tool-agnostic file is a natural fit and a clean data-ownership story: not a row in someone's cloud.
1How to export
In the Quick Bug modal, click 🌐 Export HAR. A .har file downloads with every captured request in chronological order. Open it in:
Network tab → right-click → Import HAR
File → Import
Import → the requests become a collection
2What's in it
For each request TraceBug captured:
request.method, request.urlThe captured method and (sanitized) URL
request.queryStringParsed from the URL into name/value pairs
response.status, response.statusTextThe captured status + its standard reason phrase
response.content.textThe failed-response body snippet (failures only)
response.content.mimeTypeGuessed from the body shape (JSON / HTML / XML / text)
time, timings.waitThe captured request duration
pages[0], browserThe page URL and browser/version from the environment
Fields TraceBug doesn't capture — request/response headers and cookies — are emitted as empty arrays, and timing phases we didn't measure as -1, both valid per the HAR 1.2 schema. URLs are already sanitized at capture (sensitive query params replaced with [REDACTED]).
Programmatic use (SDK)
import { buildHar, exportSessionAsHar, generateReport } from "tracebug-sdk";
const report = generateReport();
// Pure — returns the HAR 1.2 object, no side effects:
const har = buildHar(report, "1.6.0");
console.log(har.log.entries.length);
// Or build + trigger a browser download:
const { filename, entryCount } = exportSessionAsHar(report);One click, one portable file
Export HAR from any capture and drop it into the network tool you already use — no lock-in, no cloud.