中文说明 | Contributing | Releasing
A Chrome DevTools extension for turning network failures into structured reports that frontend and backend engineers can share immediately.
When a request fails in Chrome DevTools, teams usually pass around screenshots plus manually written context. That is slow, repetitive, and often incomplete.
Network Error Reporter turns a failed request into:
- a structured Markdown report
- a readable report preview
- an exportable report image
The goal is simple: reduce the back-and-forth between frontend and backend during API debugging.
- adds an
Error Reportpanel inside Chrome DevTools - reads HAR entries and newly finished requests
- defaults to failed
Fetch/XHRrequests - extracts useful request and response details instead of copying DevTools noise
- lets you add impact scope, frequency, repro notes, and remarks
- copies Markdown with one click
- exports the rendered report as an image
- highlights possible sensitive fields before sharing
- Open Chrome DevTools.
- Switch to the
Error Reportpanel. - Select a failed request from the list.
- Review the generated report.
- Copy Markdown or export an image.
Current scope:
- single-request reporting
- request filtering by resource type
- structured preview and export
Not included:
- screenshot capture from the Network panel
- built-in cURL generation
- HAR export
- multi-request aggregation
- Open
chrome://extensions. - Enable Developer Mode.
- Click
Load unpacked. - Select this project directory.
- Open any page's DevTools and switch to the
Error Reportpanel.
Generate icons if needed:
powershell -ExecutionPolicy Bypass -File .\scripts\generate-icons.ps1Package the extension:
powershell -ExecutionPolicy Bypass -File .\scripts\package-extension.ps1Artifacts:
release\network-error-reporter-<version>-unpacked\release\network-error-reporter-<version>-unpacked.zip
Important:
- the generated zip is a distribution archive for GitHub or file sharing
- Chrome cannot install this zip directly as a packaged extension
- to use it, unzip it first and then load the extracted folder through
Load unpacked - a real installable
.crxpackage requires Chrome's own packaging flow and signing key management
This project supports automated GitHub Releases through GitHub Actions.
- push a tag like
v0.2.0 - GitHub Actions will build the distribution zip and publish a Release automatically
Release documentation:
panel/main.js: panel interaction and preview renderingpanel/report.js: request normalization and report generationpanel.html/panel.css: panel UIscripts/: packaging and asset helpers
- Chrome DevTools extensions cannot directly read the currently selected request in the native Network panel, so this project uses its own request list for selection.
- If you need cURL, use Chrome Network panel's native
Copy as cURL. - Image export first tries clipboard output, then falls back to downloading a
.pngfile.
- Contribution guide: CONTRIBUTING_en.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security policy: SECURITY.md