2 Easy Ways to Fix console.log if It's not Working in Firefox

Here's how to quickly fix any issues with console.log in Firefox

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • Mozilla Firefox offers users access to built-in developer tools for those learning or already familiar with JavaScript.
  • The console is available in almost all browsers for debugging purposes.
  • Users have reported that the console.log does not display anything and is not working in Firefox.
Instead of solving troubles with Firefox, upgrade to a better browser: Opera One Opera One brings a handful of changes, including an updated UI, integration with AI chatbots, and tab management features. What else can you expect?
  • Easy migration: use the Opera One assistant to transfer existing Firefox information
  • Optimize resource utilization: Opera One uses your Ram more efficiently than Firefox
  • Ensures your privacy online with a free VPN and built-in Ad blocker
  • Get Opera One

Mozilla Firefox has a ton of built-in features, including developer tools like the console. However, users have reported that their console.log is not showing anything when they run it. Keep reading to find a solution to fix console.log if it’s not working in Firefox.

What does the console do?

The console in a browser is a sandbox that allows users to test code in JavaScript. The purpose of the log is to display and keep track of any code. Typically for browsers, the console is used for debugging things. If users want to write messages to the console, the prefix is console.log.

Firefox console.log.

Most if not all browsers provide users access to the console. The workings of the console may vary from browser to browser but it’s typically very similar. If you encounter issues with Chrome and need to enable JavaScript, we have solutions for that as well.

Quick Tip:

If you have frequent problems with Firefox, try Opera GX instead. It offers quick and easy developer tools, including a built-in feature that lets you check your page’s script.

On top of that, the browser is very light and you can actually manage how much RAM, CPU and bandwidth goes into each tab to avoid any errors or freezes while working.

Opera GX

Use Opera GX’s built-in console and benefit from secure and fast browsing!

How do I fix console.log if not working in Firefox?

1. Enable logging

  1. Enter the full console by right-clicking the page and selecting Inspect (or press Ctrl + Shift + K). Right-click to inspect the page and open Firefox console.
  2. Click on the Console tab.
  3. Ensure that Logs is highlighted in grey to make sure it’s enabled. Enable logs.
  4. Click on the gear in the top right corner.
  5. Check Persist logs. Check persist logs if console.logs not working in firefox.

If the console isn’t showing anything, it may be because the logs are disabled. Try enabling them and then checking persist logs to remember that setting for each page load. This will keep your console content including logs.

2. Disable add-ons

  1. Open the Firefox menu by clicking on the three lines in the top left corner and selecting Add-ons and themes. Open firefox addons.
  2. Under Manage Your Extensions, disable each add-on by clicking on the switch. disable add-ons if console.logs not working in firefox.
  3. Restart Firefox.

Users have reported encountering issues with the console and the lead cause being a faulty add-on. Try disabling all your extensions and then running console.log again to see if the problem persists.

If it doesn’t, you can determine which add-on is the faulty one by enabling each one individually and seeing which causes issues. Many users reported encountering this issue with the Firebug extension.

We hope one of the solutions on the guide helped you fix console.logs if it’s not working Firefox. If you’re having issues with the border radius not working in Firefox, we have a guide for that as well. Let us know in the comments below which step worked for you or if you have another suggestion.

More about the topics: Firefox errors