Bug reporting

How to write a bug report developers can act on

How to write a bug report a developer can fix without follow-up questions: the facts to include, a bad and a good example, and a checklist for before you send.

By the Laneshot team · · 9 min read

To write a bug report a developer can act on, write down four things: what you did, what you expected to happen, what happened instead, and where it happened. Then back them up with evidence, such as a screenshot or recording, the console errors, and the failed network requests.

That's the whole test. If a developer can reproduce the bug from your report alone, without sending you a single question, the report did its job. If they have to ask "which browser?" or "what did you click before that?", the fix waits until you answer.

Below: the facts every report needs, a bad and a good example side by side, how to attach evidence, and a checklist to run before you send. It's for anyone who reports bugs, technical or not.

The facts developers always need

Leave one of these out and someone has to come back and ask.

FactWhat to writeExample
What you didThe steps, in order, from a page anyone can openOpened the checkout, entered a card, clicked Pay
What you expectedThe result you thought you'd getThe order confirmation page
What happenedThe result you got, with the exact error textThe button spun, then "Something went wrong"
WherePage URL, browser and version, operating systemshop.example.com/checkout, Safari 18, macOS 15
WhoThe account, workspace, and role you usedAdmin of the Northwind workspace
WhenDate and time, with a time zoneNov 12, 14:05 CET
EvidenceScreenshot or recording, console errors, failed requestsA 40-second recording with voice

What you did

Write the steps as a numbered list, starting from somewhere the developer can reach: a URL, or "signed in as an admin, on the dashboard". Include the step you think doesn't matter. Bugs often hide in it: the filter you set earlier, the second tab you had open, the browser's back button.

What you expected

A developer may believe the current behavior is correct. "I expected the total to include tax" names the rule you think is broken, and lets the team decide whether it's a bug or a missing feature.

What happened instead

Describe the result, not your theory about the cause. "The page went blank after I clicked Save" is useful. "The server is down" is a guess, and a wrong guess sends people looking in the wrong place. Copy error messages as text, word for word, so they can be searched.

Where, who, and when

The same page can behave differently in Safari and Chrome, for an admin and a viewer, or for one customer's data and not another's. The URL, browser, operating system, account, and role narrow the search. Every browser shows its version on its About page. The time, with a time zone, lets an engineer find the matching lines in the server logs.

Write a title that says what broke

The title is what people see on the board, in search results, and in notifications. A good one follows a simple pattern: what broke, where, and when or for whom.

Vague titleSpecific title
Checkout brokenPay button stays disabled after a valid card is entered
Export doesn't workCSV export of the Orders report downloads an empty file
Weird layoutSidebar covers the table when the window is narrower than 1,024 px
Login issueGoogle sign-in loops back to the sign-in page for invited users

Leave out words like "urgent" or "broken!!!". Priority is the team's call, and it has its own field.

A bad bug report and a good one, side by side

Here's the same bug, reported twice.

PartBad reportGood report
TitleCheckout not workingPay button stays disabled after a valid card is entered
Steps"Tried to pay, didn't work"Add an item, go to the checkout, enter a card, click Pay
ExpectedMissingThe order confirmation page opens
Actual"It's broken"Pay stays gray and nothing happens on click
EnvironmentMissingSafari 18.1 on macOS 15.1, signed in as a customer
EvidenceA cropped screenshot of the buttonA recording with voice, and the console error

And here is the good report in full, ready to use as a model:

**Title:** Pay button stays disabled after a valid card is entered

**Steps to reproduce**
1. Sign in with any customer account.
2. Add any item to the cart and go to https://shop.example.com/checkout.
3. Enter a valid card number, expiry date, and security code.
4. Click Pay.

**Expected:** The order confirmation page opens.

**Actual:** The Pay button stays gray and doesn't respond to clicks. No error is shown on the page.

**Environment:** Safari 18.1 on macOS 15.1. Happens every time.
Chrome 131 on the same Mac works.

**When:** Nov 12, 2026, around 14:05 CET.

**Evidence:**
- Recording: (link)
- Console: TypeError: undefined is not an object (evaluating 'form.elements.cvc.value')

**Impact:** Support has three tickets about this from Safari users since Tuesday.

Every claim in it can be checked. It says what works: "Chrome on the same Mac works" rules out the account, the card, and the server in one line. And it states impact as facts, which says more than "this is critical".

Attach evidence, not just a description

Words describe what you think happened. Evidence shows what did. Attach as much of this as you can:

  • A screen recording, ideally with your voice. Start a few steps before the bug, so the developer sees what led to it.
  • A screenshot, with the problem circled or pointed at, and enough of the page to show where you were.
  • Console errors. Open the browser's developer tools (F12 on Windows and Linux, Cmd+Option+I on a Mac; Safari needs its developer features turned on first) and copy the red lines from the Console tab. Our guide to getting console logs from users walks a non-technical reporter through it.
  • Failed network requests. When something fails to load or save, the failed request, with its status code and response, often names the cause. If a developer asks for a HAR file, here's how to export a HAR file, and how to remove cookies and tokens before you send it.
  • IDs. Order numbers, record IDs, or a request ID from an error message, so engineers can find the exact data.

Before you attach anything, check it for private information: other customers' data on screen, tokens in a URL, personal details in a form. Crop or blur it out.

Writing bug reports when you're not technical

You don't need to know why something broke to report it well. Describe what you saw, in order, as if you were explaining it to a colleague on the phone.

A few habits help:

  • Describe, don't diagnose. "The list was empty after I applied the filter" beats "the filter is broken".
  • Use the words on the screen. Name buttons and pages exactly as they're labeled: "the Save draft button", not "the button on the right".
  • Say how often. Every time, sometimes, or once. A bug you saw once is still worth reporting, with the time it happened.
  • Record instead of writing when the steps are hard to put into words. A one-minute recording where you talk through what you're doing can replace ten lines of text.
  • Say what you were trying to do. "I was sending an invoice to a customer" gives context the steps alone don't.

If you work in support and the bug comes from a customer, a short reply collects most of what a developer needs:

Thanks for letting us know. So our team can fix this quickly, could you reply with:

1. The address of the page, copied from the top of your browser.
2. What you clicked or typed just before the problem, step by step.
3. What you expected to happen, and what happened instead.
4. Which browser you use (Chrome, Edge, Firefox, or Safari) and which computer.
5. A screenshot or a short screen recording, if you can.

A checklist before you send

It takes a minute and saves a round trip.

  • The title says what broke and where, in one line.
  • The steps are numbered, one action each, starting from a URL anyone on the team can reach.
  • The expected and actual results are both written down.
  • Error messages are copied word for word, as text.
  • The URL, browser and version, and operating system are included.
  • The account, workspace, and role are named, without any password.
  • The date and time are there, with a time zone.
  • A screenshot or recording is attached.
  • Console errors or failed requests are attached when data didn't load or save.
  • You said how often it happens, and whether it works anywhere else.
  • Private information is cropped, blurred, or removed.
  • You searched for an existing report of the same bug.

Prefer fields to a list? Start from our bug report template for GitHub, Jira, and Linear.

Let a tool collect the technical part

For non-technical reporters, the hardest part of a bug report is the technical part. It's also the part a tool can gather on its own.

That's the idea behind Laneshot's browser extension. When you record a tab, the console, network requests, your clicks, and the environment (page, browser, operating system, viewport) come with the video, along with your voice if you narrate. You add a title and say what went wrong, and the capture lands as a card on your team's board. With instant replay on, you can also save the last one to two minutes of a tab after something breaks. Credentials in headers and sensitive form fields are masked before upload, and typed text is never recorded.

Customers don't need the extension. A recording link lets them record their screen and voice without an account. It captures the video and the browser's environment, but not the console or network requests.

Frequently asked questions

What should a bug report include?

A clear title, numbered steps to reproduce, the expected result, the actual result, and the environment: URL, browser and version, operating system, account, and time. Attach a screenshot or recording, plus console errors and failed requests when data didn't load or save.

How long should a bug report be?

As short as it can be while still letting someone reproduce the bug without asking you anything. For most bugs, that's a title, three to six steps, a line each for expected and actual results, and an attachment.

What if I can't reproduce the bug myself?

Report it anyway, say it happened once, and include the exact time, the page, and anything you remember doing just before. Our guide to bugs you can't reproduce covers what to collect next.

Should I report several problems in one bug report?

No. File one report per problem, even if you found them together. Separate reports can be prioritized, assigned, and closed on their own, while a combined one stays open until the last problem is fixed.