Open Dev Tools in Firefox – Quick Keyboard and Menu Guide
In this article
Yes, you can open Firefox Developer Tools instantly by pressing F12 or Ctrl+Shift+I (Cmd+Option+I on macOS); the tools then appear at the bottom or side of the browser window.
What You'll Need
- A recent version of Mozilla Firefox installed on your computer or mobile device.
- A keyboard (for shortcut methods) or a mouse/touchpad for menu navigation.
Step-by-Step
- Launch Firefox and load the web page you want to inspect.
- Choose one of the following methods to open the Developer Tools:
- Keyboard shortcut (Windows/Linux): Press F12 or Ctrl+Shift+I. The tool pane opens.
- Keyboard shortcut (macOS): Press Cmd+Option+I. The same pane appears.
- Menu navigation (any platform): Click the three‑line "hamburger" menu at the top‑right, select More Tools, then choose Web Developer Tools. The exact wording may vary slightly by Firefox version, but the path remains similar.
- When the pane opens, you will see a row of tabs such as Inspector, Console, Network, Performance, etc. Click the tab that matches the task you need (e.g., Inspector to examine HTML/CSS).
- If you prefer the tools docked on the side rather than the bottom, click the docking icon (a small square with an arrow) in the top‑right corner of the DevTools pane and select "Dock to right" or "Dock to left".
- To close the tools, press the same shortcut you used to open them (F12 or Ctrl+Shift+I / Cmd+Option+I) or click the close button (X) in the pane’s header.
Common Mistakes
- Using the wrong shortcut on macOS. The Windows shortcut Ctrl+Shift+I does not work on macOS; you must use Cmd+Option+I.
- Expecting the tools to appear on a new window. By default they dock inside the current Firefox window. If you want a separate window, click the three‑dot menu in the DevTools header and choose "Detach".
- Pressing F12 when the focus is on a form field. Some web pages capture F12 for their own shortcuts, preventing the DevTools from opening. Click somewhere on the page background first, then press F12.
- Confusing Firefox’s "Responsive Design Mode" with the full DevTools. Responsive Design Mode is a sub‑tool accessed via Ctrl+Shift+M (or Cmd+Option+M) and does not include the full console or network panels.
Tips
- Use Ctrl+Shift+K (or Cmd+Option+K on macOS) to jump directly to the Console tab without opening the full toolbox first.
- Press Esc while the DevTools are open to toggle the JavaScript console drawer at the bottom of the pane.
- Right‑click any element on the page and choose "Inspect Element" to open the Inspector directly to that node.
- Customize which panels appear by clicking the gear icon in the DevTools header and checking or unchecking items under "Default Toolbox".
- On mobile Firefox (Android), long‑press the page and select "Inspect" to launch a remote debugging session from a desktop Firefox; you cannot open the full DevTools directly on the phone.
Troubleshooting
If the Developer Tools do not appear after using a shortcut or menu command, follow these steps in order:
- Restart Firefox. A simple restart clears temporary glitches that may block the toolbox.
- Check for updates. Open the menu, go to Help > About Firefox, and let the browser download and install any available updates. New versions often fix DevTools bugs.
- Reset the toolbox layout. Open the DevTools (even if empty), click the gear icon, scroll to the bottom, and select "Restore defaults and reload". This removes any corrupted panel configuration.
- Disable conflicting extensions. Some extensions inject their own shortcuts or UI elements that can interfere with F12. Temporarily disable extensions via Add‑ons > Extensions, then try again.
- Clear the browser cache. Go to Settings > Privacy & Security > Cookies and Site Data > Clear Data, check "Cached Web Content", and confirm. Cached scripts sometimes block DevTools loading.
- Start Firefox in Safe Mode. Hold the Shift key while launching Firefox (or choose Help > Restart with Add‑ons Disabled). If DevTools work in Safe Mode, the issue lies with an add‑on or custom setting.
- Reinstall Firefox. As a last resort, uninstall Firefox, download the latest installer from the official Mozilla site, and reinstall. Your bookmarks and passwords are stored in your profile and will be retained, but back up the profile folder if you have custom configurations.
After each step, try opening the tools again. If none of the above resolves the problem, consider filing a bug report on Mozilla’s Bugzilla with details about your OS, Firefox version, and any error messages shown in the console.
Frequently Asked Questions
Can I open DevTools on a specific tab without affecting other tabs?
Yes. The toolbox opens in the context of the currently active tab. Switching to another tab automatically changes the inspected page without closing the pane.
Is there a way to open DevTools automatically when Firefox starts?
Firefox does not provide a built‑in option to launch DevTools on startup. However, you can add the command‑line flag -devtools when launching Firefox from a shortcut; this opens the toolbox for the first tab.
How do I inspect a page on a mobile device using Firefox on my desktop?
Enable "Remote Debugging" on the Android device (Settings > About phone > tap Build number seven times, then enable USB debugging). Connect the device via USB, open Firefox on the desktop, go to Tools > Web Developer > Connect… and select the device. The mobile page will appear in the desktop DevTools.
Why does the Console show "[Error] Loading source map" messages?
Those messages indicate that the browser cannot locate a source‑map file referenced by a script. They do not affect normal debugging; you can ignore them or disable source‑map loading in the settings if they become distracting.
Can I use DevTools to edit CSS live on the page?
Absolutely. In the Inspector panel, select an element, then edit its style rules in the Rules pane. Changes appear instantly and persist only for the current session unless you copy them to your stylesheet.
Do the shortcuts work in Firefox Quantum (the version released after 2017)?
All shortcuts mentioned (F12, Ctrl+Shift+I, Cmd+Option+I, etc.) are supported in Firefox Quantum and later releases. Keyboard shortcuts may differ if you have customized them in about:config.