Bug reporting

How to get console logs from a customer, without a screen-share

How to open the console and save logs in Chrome, Edge, Firefox, and Safari, a message to send customers, privacy checks, and what to do when they can't.

By the Laneshot team · · 7 min read

To get console logs from a customer, send them short steps for their browser: open the console with a keyboard shortcut, reproduce the problem with the console open, then save or copy what appears and send it back. In Chrome and Edge, the shortcut is Ctrl+Shift+J (Cmd+Option+J on a Mac). In Firefox, it's Ctrl+Shift+K (Cmd+Option+K). Safari needs its developer features turned on first.

That's the whole method. The hard part is that most customers have never opened developer tools, and the console isn't a friendly place. This guide gives you the steps for each browser, a message you can paste into a support reply, the privacy checks to make before anyone sends logs, and what to do when the customer can't.

What console logs tell you

The browser console is where a web page reports what went wrong inside it. For a bug report, three kinds of lines matter:

  • Errors, usually in red, with a message and a stack trace that points to the code that failed.
  • Warnings, usually in yellow, about deprecated features, blocked content, or security policies.
  • Failed loads, such as a script that didn't download, or a request the browser blocked.

One error line, such as TypeError: Cannot read properties of undefined (reading 'total'), can turn "the page is blank" into a fix. The first error is usually the one that matters; later errors are often side effects of it.

The console doesn't show everything, though. It lists failed requests, but not their bodies. For the full requests and responses, you need the network log: see how to export a HAR file.

How to open the console in each browser

Ask the customer to open the console first, on the page where the problem happens, and then reproduce it. That way the error is recent and easy to find. Reloading or leaving the page usually clears the console, unless log preservation is turned on.

Chrome

  1. Open the page where the problem happens.
  2. Press Ctrl+Shift+J on Windows or Linux, or Cmd+Option+J on a Mac. You can also open the menu (⋮), choose More tools, then Developer tools, and select the Console tab.
  3. Reproduce the problem.
  4. Right-click anywhere in the console and choose Save as… to save the messages to a file.

If the problem involves a reload or a redirect, turn on Preserve log in the console settings (the gear icon) before reproducing it.

Edge

Edge is built on the same engine as Chrome, and its developer tools work the same way.

  1. Press Ctrl+Shift+J on Windows, or Cmd+Option+J on a Mac. You can also open the menu (…), choose More tools, then Developer tools, and select the Console tab.
  2. Reproduce the problem.
  3. Right-click in the console and choose Save as….

Firefox

  1. Press Ctrl+Shift+K on Windows or Linux, or Cmd+Option+K on a Mac. You can also open the menu (☰), choose More tools, then Web Developer Tools, and select the Console tab.
  2. Reproduce the problem.
  3. Right-click in the console and choose the option to export or save the messages to a file. Its exact label depends on the Firefox version. Copying the messages to the clipboard works too.

To keep messages across page loads, turn on Persist Logs in the console's settings.

Safari

Safari hides its developer tools until you turn them on.

  1. Open Safari, then Settings (called Preferences in older versions), then Advanced.
  2. Turn on Show features for web developers. In older versions, it's called Show Develop menu in menu bar.
  3. On the page, choose Develop, then Show JavaScript Console, or press Cmd+Option+C.
  4. Reproduce the problem.
  5. Select the messages, copy them, and paste them into an email or a text file. A screenshot of the console is a fair fallback.

On phones and tablets

Mobile browsers don't have a console the customer can open on the device. Reading one means connecting the phone to a computer and using remote debugging, which isn't a reasonable thing to ask a customer. Ask them to try on a computer if they can, or collect clear steps and screenshots instead.

A message you can send to customers

Ask which browser they use first, then send only the steps for that browser. Keep it short and numbered. Here's a version for Chrome to paste and adapt:

Thanks for your patience. To see what's going wrong, could you send us
the messages your browser records behind the scenes? Here's how:

1. Open the page where the problem happens.
2. Press Ctrl+Shift+J (on a Mac: Cmd+Option+J). A panel opens.
3. Do the thing that fails, one more time.
4. Right-click inside the panel and choose "Save as…".
5. Attach the saved file to your reply.

Before sending, feel free to open the file and remove anything personal,
such as your name or email address. We never need your password, so if
you see one, delete it.

A few things make this work better:

  • Say why. "So we can see the exact error" gets more replies than an unexplained request.
  • One browser per message. A list of four browsers' shortcuts is where people give up.
  • Accept a screenshot. A photo of the red lines is better than nothing, and you can ask for the file later if needed.
  • Thank them. They're doing your debugging. Say so.

Why it's hard for non-technical users

Even with clear steps, many customers won't get through this. That's not their fault:

  • The console is intimidating. It's full of red text and code, and it looks like something they could break.
  • It may be blocked. Some company-managed computers turn developer tools off entirely.
  • Timing matters. If they open the console after the error, or the page reloads, the message they need may be gone.
  • They send the wrong part. A cropped screenshot, or only the last line, which is rarely the first error.
  • They're already frustrated. They came to you because something broke. A technical task on top of that is a lot to ask.

Every back-and-forth adds waiting for both sides, and some customers stop replying. That's the real cost of asking for logs: not the effort, but the bugs that go unreported.

Privacy: logs can contain personal data

Console logs aren't anonymous. Depending on how your app is built, they can include:

  • Email addresses, names, and user IDs printed by debugging statements.
  • Whole API responses that were logged during development and never removed.
  • Access tokens, session IDs, or signed URLs inside error messages.
  • Internal hostnames and service addresses.

Treat a log file from a customer as personal data:

  • Ask only for what you need, and say why.
  • Invite the customer to review the file and remove anything personal before sending.
  • Store it with the support ticket or the bug, not in a shared chat channel.
  • Delete it once the bug is fixed, in line with your retention policy.
  • Remove console.log calls that print personal data or tokens from production code.

The last item does the most good. The less your app logs, the safer every bug report becomes, whoever sends it.

Skip the console: ask for a recording instead

Often, what you need first isn't the log. It's seeing exactly what the customer did, and on which browser, so you can reproduce the problem yourself, where the console is one shortcut away.

A recording link does that. In Laneshot, a project admin creates a recording link and sends it by email, chat, or your support tool. The customer opens it, selects Choose a screen and start, reproduces the problem while explaining it out loud if they like, and sends it. They don't need an account or an extension, and the recording arrives as a new card on the project's board.

Be clear about what it records. Because it runs in an ordinary web page, a recording link captures the screen, the voice, and the browser, system, viewport, language, and time zone. It doesn't capture console output or network requests. Recordings stop after 10 minutes, and screen recording needs a computer: on a phone or tablet, the page asks the customer to switch.

With the steps and the environment in hand, reproduce the bug on your side with the Laneshot browser extension. Its captures include the console, network requests, user actions, and the activity from the two minutes before recording started. Credentials and fields with sensitive names are masked in the browser before anything is uploaded. Teammates in support or QA can capture bugs the same way, so the customer's part stays small: open a link, record, send.

Frequently asked questions

How do I send console logs to support?

Open the console with Ctrl+Shift+J in Chrome or Edge (Cmd+Option+J on a Mac), or Ctrl+Shift+K in Firefox (Cmd+Option+K). Reproduce the problem, right-click in the console to save the messages to a file, and attach the file to your reply.

Can customers send console logs from a phone?

Not easily. Mobile browsers have no console you can open on the device, and reading one requires a computer and remote debugging. Ask for steps and screenshots, or ask them to try on a computer.

Is it safe to share browser console logs?

Logs can contain personal data, such as email addresses or tokens that the app printed. Review the file before sending, remove anything personal, and never share a password.

Do I need console logs if I have a screen recording?

A recording shows what happened, and that's often enough to reproduce the bug yourself. The console shows why it happened, so you'll want it once you can reproduce the bug on your side.