How to Write a Bug Report Developers Can Reproduce
A useful bug report answers one question before anything else: can a developer reproduce this without asking you anything? If the answer is no, the report will sit in a backlog marked 'cannot reproduce' until someone finds the time to chase it down. This guide gives you a repeatable structure so that never happens.
What makes a bug report actually useful
Reproducibility is the only thing that separates a useful bug report from a frustrating one. In practice, a significant portion of debugging time goes toward reproducing the bug rather than fixing it. Every minute spent guessing what you saw is a minute not spent on the fix.
The goal is not to write a long report. It is to write a complete one. The six-field framework below covers everything a developer needs: where the bug is, what you were doing, what you expected, what actually happened, and what environment you were in. Fill in all six fields and you have done your job.
Your job as a reporter is to describe symptoms, not to diagnose causes. Leave the diagnosis to the developer. Before you write any bug report, check your pre-launch QA checklist to confirm whether the issue was already flagged before the site went live.
The six fields every website bug report needs
Every web bug report should include these six fields. Omit even one and you risk a 'cannot reproduce' closure, which sends the bug back to the start of the queue.
1. URL
Copy the full address from the browser bar. Include query parameters (everything after the ?) and hash fragments (everything after the #). The bug on shop.example.com/checkout?step=payment#summary is not the same as the one on shop.example.com/checkout.
2. Element
Name the specific button, field, dropdown, or component involved. 'The form' is not enough. 'The Place Order button at the bottom of the payment step' is.
3. Steps to reproduce
Write numbered steps. One action per step. Start from a blank browser session unless session state is part of the bug. Stop before the bug appears so the final step can be 'observe the result.'
4. Expected behavior
What should have happened? Be specific. 'The order confirmation screen should appear' is more useful than 'it should work.'
5. Actual behavior
What did happen? Describe it exactly. Quote any error message verbatim. If the page went blank, say the page went blank.
6. Environment
Browser name and version, operating system, device type, and screen size. 'Chrome 124 on macOS 14.4, MacBook Pro 16-inch' is useful. 'My laptop' is not.
A complete environment string is the single most skipped field in client bug reports. It matters most for rendering bugs, which vary by browser and device in ways that are invisible on a developer's machine. A solid website QA process builds environment capture into every review round so it becomes a habit rather than an afterthought.
Severity versus priority: two different things
Severity describes the technical impact of a bug. Priority describes the business urgency of fixing it. These are separate judgments, and conflating them causes real friction between clients and developers.
A cosmetic misalignment on the homepage might be low severity (nothing is broken) but high priority (the client is demoing the site to their board tomorrow). A broken API call in an admin panel might be high severity (data is affected) but low priority (only two internal users see it, and the launch is six weeks away).
Use this simple decision guide when you assign severity and priority:
| Situation | Severity | Priority |
|---|---|---|
| Page crashes or data is lost | High | Depends on audience and timing |
| Core user flow is blocked | High | Usually high |
| Secondary feature misbehaves | Medium | Depends on launch timeline |
| Visual misalignment only | Low | Depends on visibility |
| Affects demo or launch date | Any | High |
When you file the report, fill in both fields separately. Let the developer set severity if you are unsure. Let the project manager set priority. Keeping these two judgments in separate fields prevents the situation where a developer deprioritizes a visible cosmetic bug because it is technically 'low severity' while the account manager is fielding client calls about it.
For more on structuring feedback so clients and teams stay aligned, see our resources on collecting structured client feedback.
How to report an intermittent bug
An intermittent bug does not appear every time you try to reproduce it. That makes it harder to fix, not impossible. The key is adding a frequency field to your standard six-field report.
Document how often the bug appears: '3 out of 5 attempts,' 'only on the first page load after clearing the browser cache,' or 'every time I use a card ending in a test number but not a real one.' Note any pattern you noticed: time of day, whether you were logged in, what data you had entered.
Frequency data helps a developer narrow down the likely cause. A bug that appears on the first load after clearing the cache points toward a caching issue. A bug that appears 3 out of 5 times with no clear pattern points toward a race condition. A bug that only appears with specific data inputs points toward a validation or API problem. Without frequency data, developers cannot make those distinctions and must set up logging and wait, which takes days instead of hours.
If you cannot pin down a pattern, write exactly that: 'No consistent pattern observed. Appeared twice during testing on 14 May, could not reproduce on 15 May.' That honesty is itself useful.
Copy the error text exactly, every time
The precise wording of a JavaScript error, a 404 message, or a form validation warning is often the fastest path to the root cause. Paraphrasing loses the specific terms a developer searches for. 'Something about an undefined value' and 'Uncaught TypeError: Cannot read properties of undefined (reading 'length')' are not the same thing.
Copy and paste. Do not retype. Do not summarize.
If an error appears in the browser console, you can open it without any technical knowledge:
- Chrome, Edge, or Firefox on desktop: Press F12, then click the Console tab.
- Safari on Mac: Go to Safari menu, Preferences, Advanced, check 'Show Develop menu,' then press Cmd+Option+C.
Select all the red text in the console, copy it, and paste it into the error text field of your report. Include any visible error codes. If there is a stack trace (lines of file names and numbers below the main error), include that too.
Worked example: a Safari on iPhone checkout failure
Here is a bug that comes up in e-commerce projects regularly. The same scenario reported two ways.
Bad report:
This tells the developer nothing actionable. They do not know which step fails, which phone, which browser, or what 'doesn't work' means visually.
Good report:
- URL: https://store.example.com/checkout?step=payment
- Element: Place Order button
- Steps to reproduce:
- Add any product to cart
- Proceed to checkout
- Complete the shipping address form
- Enter test card 4242 4242 4242 4242, expiry 12/26, CVV 123
- Tap Place Order
- Expected behavior: Order confirmation screen with order number
- Actual behavior: Button shows a loading spinner for approximately 3 seconds, then the page reloads to the top of the payment step with no error message. No order is created in the dashboard.
- Environment: Safari 17, iOS 17.4.1, iPhone 14 Pro, 390px viewport
- Frequency: Consistent, 5 out of 5 attempts
- Error text (from console): Unhandled Promise Rejection: TypeError: Failed to fetch
- Attachment: Screen recording (attached)
One detail worth noting for iPhone bugs: every browser on iOS, including Chrome and Firefox, uses the WebKit rendering engine because Apple requires it. So 'Chrome on iPhone' and 'Safari on iPhone' are the same rendering engine under the hood. When you report an iPhone bug, the browser name matters less than the iOS version. Noting 'iOS 17.4.1, WebKit' is more precise than 'Chrome on phone.' This is not something you should have already known. It just helps to know it now.
This kind of precise report comes up constantly in Shopify checkout issues, where payment provider scripts and WebKit's stricter handling of fetch requests combine in ways that only show up on real devices.
---
If you want a template you can drop into your own review workflow, the six-field structure above is a good starting point. Copy it into a shared doc or your project management tool and use it for every site review round.
What to attach, and how to capture it fast
The right attachments reduce the back-and-forth between reporter and developer significantly. A screen recording of the bug appearing is almost always more useful than a screenshot, because interactive and time-based bugs cannot be captured in a still image.
Here is what to attach and how to get each one without DevTools expertise:
Screen recording: On Mac, press Cmd+Shift+5 and choose 'Record Selected Portion.' On Windows, press Win+G to open the Game Bar and hit record. On iPhone, add Screen Recording to Control Center in Settings. Record from two steps before the bug to two steps after.
Browser console log: Open the console with F12 (or the Safari steps above). Right-click anywhere in the console and look for 'Save as' or 'Copy all messages.' If that option is not available, select all visible red text and paste it into a text file.
Exact URL: Copy the full address bar contents including query parameters and hash fragments. Do this immediately when the bug appears, before you navigate away.
For teams running structured review cycles, tools that combine annotation, screen recording, and structured report fields into a single submission flow can remove most of this friction. Nitpick is one option. For a broader overview of how attachments fit into a review workflow, the launch QA articles cover capture methods in more detail.
Where this goes wrong
Most bug reports fail for the same handful of reasons. None of them are unusual, and all of them are fixable.
Guessing the cause. 'I think the JavaScript is broken' or 'probably a server error' in the report body misdirects the developer before they have looked at anything. Describe what you saw. Let the developer determine why.
Vague environment strings. 'Latest browser' is not an environment. 'My phone' is not a device. 'Windows' is not an OS version. These strings produce 'cannot reproduce' closures because the developer cannot match your conditions.
Wrong URL. Reporting the homepage when the bug is on a deep product or checkout page means the developer starts in the wrong place. Always copy the exact URL from the address bar at the moment the bug appears.
Verbal or Slack-only reports. A bug reported in a Slack message or a phone call leaves no record, no structured fields, and no attachments. It almost always gets partially lost or misremembered. Write it down.
Emotional framing. 'This is completely broken' or 'nothing works' describes a feeling, not a behavior. Describe what you tapped, what you expected, and what appeared on screen instead.
These patterns show up in web agency review workflows when clients are not given a structured way to report what they find. A template solves the problem before it starts. For a deeper look at how agencies handle client-side feedback at scale, the article on collecting structured client feedback covers the common failure points in more detail.
Conclusion
A reproducible bug report is a short document. It names the page, the element, the steps, the expected outcome, the actual outcome, and the environment. It includes the exact error text and a screen recording. It separates severity from priority. That is the whole job.
If you want a ready-made structure for your next review round, the six-field template in this article is free to copy. If you want a tool that captures annotations, recordings, and structured fields in one step and turns them into tasks automatically, Nitpick is built for exactly that workflow.
Fair questions.
What is the difference between a bug report and a change request?
A bug report describes something that is broken or does not match the agreed specification. A change request describes something the client wants to add or change beyond the original scope. Mixing the two in the same report slows down both processes. If the behavior was never specified, it is probably a change request. If it was specified and it does not work that way, it is a bug. When in doubt, file them separately and let the project manager sort scope.
How do I find my browser version if I am not technical?
Visit whatismybrowser.com and it will give you a copy-paste-ready environment string with your browser name, version, operating system, and device type. Alternatively, type about:version in your browser address bar and look for the version number on the page that opens. Not knowing your browser version off the top of your head is completely ordinary. The point is to look it up before filing the report rather than writing 'latest version.'
Do I need to include a screenshot if I have a screen recording?
A screen recording contains everything a screenshot does and more. For any interactive or time-based bug, the recording is more useful on its own. A screenshot is still worth including if the bug is purely visual and static, such as a misaligned heading or an overlapping element that does not depend on any interaction. If you have both, include both. If you only have time to capture one, prioritize the recording.
What should I write in the 'expected behavior' field if I am not sure what the correct behavior should be?
Describe what a reasonable user would expect based on the label, the context, or how the feature behaved before. You can reference the design or specification if one exists. It is perfectly fine to write something like 'Based on the button label Place Order, I expected an order confirmation screen to appear.' You do not need to know the technical specification. Describe what the interface led you to expect.
How many steps to reproduce is too many?
There is no upper limit on the number of steps, but each step should be one single discrete action. If you can remove a step and the bug still appears, remove it. Aim for the minimum number of steps that consistently produce the bug. A ten-step report where every step is necessary is better than a three-step report where one step is vague or missing.
Go on. Find something wrong.
We built a small pickle shop with a dozen things wrong with it. Turn Nitpick on over there and see how many you catch. Then put it on a site of yours: 7 days free, nothing charged until day 8.