- 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.
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?
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.
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
- Enter the full console by right-clicking the page and selecting Inspect (or press Ctrl + Shift + K).
- Click on the Console tab.
- Ensure that Logs is highlighted in grey to make sure it’s enabled.
- Click on the gear in the top right corner.
- Check Persist logs.
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
- Open the Firefox menu by clicking on the three lines in the top left corner and selecting Add-ons and themes.
- Under Manage Your Extensions, disable each add-on by clicking on the switch.
- 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.