CINXE.COM
Firefox DevTools User Docs — Firefox Source Docs documentation
<!doctype html> <html class="writer-html5" lang="en" data-content_root="../"> <head> <base href="https://firefox-source-docs.mozilla.org/devtools-user/"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Firefox DevTools User Docs — Firefox Source Docs documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50"> <link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094"> <link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=fd3f3429"> <link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b"> <link rel="stylesheet" type="text/css" href="../_static/custom_theme.css?v=a7d3e023"> <link rel="stylesheet" type="text/css" href="../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7"> <link rel="shortcut icon" href="../_static/firefox.ico"><!--[if lt IE 9]> <script src="../_static/js/html5shiv.min.js"></script> <![endif]--> <script src="../_static/jquery.js?v=5d32c60e"></script> <script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script> <script src="../_static/documentation_options.js?v=5929fcd5"></script> <script src="../_static/doctools.js?v=9a2dae69"></script> <script src="../_static/sphinx_highlight.js?v=dc90522c"></script> <script src="../_static/clipboard.min.js?v=a7894cd8"></script> <script src="../_static/copybutton.js?v=30646c52"></script> <script src="../_static/design-tabs.js?v=36754332"></script> <script src="../_static/js/theme.js"></script> <link rel="index" title="Index" href="../genindex.html"> <link rel="search" title="Search" href="../search.html"> <link rel="next" title="Governance" href="../mots/index.html"> <link rel="prev" title="Shared Bug Queues" href="../bug-mgmt/processes/shared-bug-queues.html"> <meta http-equiv="X-Translated-By" content="Google"> <meta http-equiv="X-Translated-To" content="iw"> <script type="text/javascript" src="https://www.gstatic.com/_/translate_http/_/js/k=translate_http.tr.en_GB.omlEigW4xY8.O/am=DgY/d=1/rs=AN8SPfpjsL9kUWY0h-sp7Ilu7hZWGwEmeg/m=corsproxy" data-sourceurl="https://firefox-source-docs.mozilla.org/devtools-user/"></script> <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" rel="stylesheet"> <script type="text/javascript" src="https://www.gstatic.com/_/translate_http/_/js/k=translate_http.tr.en_GB.omlEigW4xY8.O/am=DgY/d=1/exm=corsproxy/ed=1/rs=AN8SPfpjsL9kUWY0h-sp7Ilu7hZWGwEmeg/m=phishing_protection" data-phishing-protection-enabled="false" data-forms-warning-enabled="true" data-source-url="https://firefox-source-docs.mozilla.org/devtools-user/"></script> <meta name="robots" content="none"> </head> <body class="wy-body-for-nav"> <script type="text/javascript" src="https://www.gstatic.com/_/translate_http/_/js/k=translate_http.tr.en_GB.omlEigW4xY8.O/am=DgY/d=1/exm=corsproxy,phishing_protection/ed=1/rs=AN8SPfpjsL9kUWY0h-sp7Ilu7hZWGwEmeg/m=navigationui" data-environment="prod" data-proxy-url="https://firefox--source--docs-mozilla-org.translate.goog" data-proxy-full-url="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB" data-source-url="https://firefox-source-docs.mozilla.org/devtools-user/" data-source-language="pl" data-target-language="iw" data-display-language="en-GB" data-detected-source-language="" data-is-source-untranslated="false" data-source-untranslated-url="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://firefox-source-docs.mozilla.org/devtools-user/&anno=2" data-client="tr"></script> <div class="wy-grid-for-nav"> <nav data-toggle="wy-nav-shift" class="wy-nav-side"> <div class="wy-side-scroll"> <div class="wy-side-nav-search"><a href="https://firefox--source--docs-mozilla-org.translate.goog/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB" class="icon icon-home"> Firefox Source Docs <img src="../_static/firefox-wordmark.svg" class="logo" alt="Logo"> </a><!-- -- This code is governed by the BSD license ----> <div> <h3>Quick search</h3> <script> (function () { var cx = "dd12886298f75dbef"; var gcse = document.createElement("script"); gcse.async = true; gcse.src = "https://cse.google.com/cse.js?cx=" + cx; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(gcse, s); })(); </script><gcse:search></gcse:search> </div> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> <p class="caption" role="heading"><span class="caption-text">Overview</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/glossary/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">A Glossary of Common Terms</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/overview/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">A Quick Guide to Mozilla Applications</a></li> </ul> <p class="caption" role="heading"><span class="caption-text">Getting Started</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/setup/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Getting Set Up To Work On The Firefox Codebase</a></li> </ul> <p class="caption" role="heading"><span class="caption-text">Working On Firefox</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/contributing/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Working on Firefox</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/bug-mgmt/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Bug Handling</a></li> </ul> <p class="caption" role="heading"><span class="caption-text">Firefox User Guide</span></p> <ul class="current"> <li class="toctree-l1 current"><a class="current reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#">Firefox DevTools User Docs</a> <ul> <li class="toctree-l2"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#the-core-tools">The Core Tools</a> <ul> <li class="toctree-l3"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#page-inspector">Page Inspector</a></li> <li class="toctree-l3"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#web-console">Web Console</a></li> <li class="toctree-l3"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#javascript-debugger">JavaScript Debugger</a></li> <li class="toctree-l3"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#network-monitor">Network Monitor</a></li> <li class="toctree-l3"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#performance-panel">Performance Panel</a></li> <li class="toctree-l3"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#responsive-design-mode">Responsive Design Mode</a></li> <li class="toctree-l3"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#accessibility-inspector">Accessibility inspector</a></li> <li class="toctree-l3"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#application-panel">Application panel</a></li> </ul></li> <li class="toctree-l2"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#more-tools">More Tools</a></li> <li class="toctree-l2"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#connecting-the-developer-tools">Connecting the Developer Tools</a></li> <li class="toctree-l2"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#debugging-the-browser">Debugging the browser</a></li> <li class="toctree-l2"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#extending-devtools">Extending DevTools</a></li> <li class="toctree-l2"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#migrating-from-firebug">Migrating from Firebug</a></li> <li class="toctree-l2"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#contribute">Contribute</a></li> </ul></li> </ul> <p class="caption" role="heading"><span class="caption-text">Source Code Documentation</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/mots/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Governance</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/browser/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Firefox Front-end</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/dom/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">DOM</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/editor/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Editor</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/layout/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Style system (CSS) & Layout</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/gfx/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Graphics</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/ipc/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Processes, Threads and IPC</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Firefox DevTools Contributor Docs</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/toolkit/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Toolkit</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/js/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">SpiderMonkey</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/mobile/android/geckoview/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">GeckoView</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/mobile/android/fenix/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Fenix</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/mobile/android/focus-android/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Focus for Android</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/dom/bindings/webidl/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">WebIDL</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/modules/libpref/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">libpref</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/networking/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Networking</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/remote/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Remote Protocols</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/services/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Services</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/uriloader/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">File Handling</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/widget/cocoa/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Firefox on macOS</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/widget/windows/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Firefox on Windows</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/toolkit/components/ml/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Firefox AI Platform</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/accessible/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Accessibility</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/code-quality/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Code quality</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/writing-rust-code/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Writing Rust Code</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/rust-components/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Rust Components</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/tools/profiler/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Gecko Profiler</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/performance/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Performance</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/storage/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Database bindings (SQLite, KV, …)</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/xpcom/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">XPCOM</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/nspr/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">NSPR</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/security/nss/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Network Security Services (NSS)</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/content-security/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Web Security Checks in Gecko</a></li> </ul> <p class="caption" role="heading"><span class="caption-text">The Firefox Build System</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/mach/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Mach</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/tools/try/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Pushing to Try</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/build/buildsystem/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Build System</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/taskcluster/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Firefox CI and Taskgraph</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/tools/moztreedocs/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Managing Documentation</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/mozbuild/vendor/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Vendoring Third Party Components</a></li> </ul> <p class="caption" role="heading"><span class="caption-text">Testing & Test Infrastructure</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/automated-testing/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Automated Testing</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/treeherder-try/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Understanding Treeherder Results</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/sheriffed-intermittents/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Sheriffed intermittent failures</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/tests-for-new-config/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Turning on Firefox tests for a new configuration</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/intermittent/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Avoiding intermittent tests</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/testing-policy/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Testing Policy</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/ci-configs/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Configuration Changes</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/browser-chrome/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Browser chrome mochitests</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/chrome-tests/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Chrome Tests</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/marionette/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Marionette</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/geckodriver/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">geckodriver</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/test-verification/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Test Verification</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/webrender/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">WebRender Tests</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/mochitest-plain/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Mochitest</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/xpcshell/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">XPCShell tests</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/tps/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">TPS</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/web-platform/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">web-platform-tests</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/gtest/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">GTest</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/tools/fuzzing/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Fuzzing</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/tools/sanitizer/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Sanitizer</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing/perfdocs/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Performance Testing</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/tools/code-coverage/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Code coverage</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/testing-rust-code/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Testing & Debugging Rust Code</a></li> </ul> <p class="caption" role="heading"><span class="caption-text">Releases & Updates</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/update-infrastructure/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Mozilla Update Infrastructure</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/update-infrastructure/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#watershed-updates">Watershed Updates</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/update-infrastructure/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#desupport-updates">Desupport Updates</a></li> </ul> <p class="caption" role="heading"><span class="caption-text">Localization & Internationalization</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/intl/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Internationalization</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/l10n/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Localization</a></li> </ul> <p class="caption" role="heading"><span class="caption-text">Firefox and Python</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/mozbase/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">mozbase</a></li> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/python/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Using third-party Python packages</a></li> </ul> <p class="caption" role="heading"><span class="caption-text">Metrics Collected in Firefox</span></p> <ul> <li class="toctree-l1"><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/metrics/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Metrics</a></li> </ul> </div> </div> </nav> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <nav class="wy-nav-top" aria-label="Mobile navigation menu"><i data-toggle="wy-nav-top" class="fa fa-bars"></i> <a href="https://firefox--source--docs-mozilla-org.translate.goog/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Firefox Source Docs</a> </nav> <div class="wy-nav-content"> <div class="rst-content"><!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this file, - You can obtain one at http://mozilla.org/MPL/2.0/. --> <div role="navigation" aria-label="Page navigation"> <ul class="wy-breadcrumbs"> <li><a href="https://firefox--source--docs-mozilla-org.translate.goog/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB" class="icon icon-home" aria-label="Home"></a></li> <li class="breadcrumb-item active">Firefox DevTools User Docs</li> <li class="wy-breadcrumbs-aside"><a href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://bugzilla.mozilla.org/enter_bug.cgi?product%3DDeveloper%2BInfrastructure%26component%3DFirefox%2BSource%2BDocs%253A%2BContent%26short_desc%3DDocumentation%2Bissue%2Bon%2Bdevtools-user/index%26comment%3DURL%2B%3D%2Bhttps://firefox-source-docs.mozilla.org/devtools-user/index.html%26bug_file_loc%3Dhttps://firefox-source-docs.mozilla.org/devtools-user/index.html" rel="nofollow">Report an issue</a> / <a href="https://firefox--source--docs-mozilla-org.translate.goog/_sources/devtools-user/index.rst.txt?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB" rel="nofollow"> View page source</a></li> </ul> <hr> </div> <div role="main" class="document" itemscope itemtype="http://schema.org/Article"> <div itemprop="articleBody"> <div class="toctree-wrapper compound" id="devtools-user-doc"> </div> <section id="firefox-devtools-user-docs"> <h1>Firefox DevTools User Docs<a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#firefox-devtools-user-docs" title="Link to this heading">¶</a></h1> <p>Firefox Developer Tools is a set of web developer tools built into Firefox. You can use them to examine, edit, and debug HTML, CSS, and JavaScript.</p> <p>This section contains detailed guides to all of the tools as well as information on how to debug Firefox for Android, how to extend DevTools, and how to debug the browser as a whole.</p> <p>If you have any feedback on DevTools or want to contribute to the project, you can <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://firefox-dev.tools/">join the DevTools community</a>.</p> <div class="admonition note"> <p class="admonition-title">Note</p> <p>If you are just getting started with web development and using developer tools, our <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://developer.mozilla.org/en-US/docs/Learn">learning</a> docs will help you — see <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web">Getting started with the Web</a> and <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools">What are browser developer tools?</a> for good starting points.</p> </div> <section id="the-core-tools"> <h2>The Core Tools<a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#the-core-tools" title="Link to this heading">¶</a></h2> <p>You can open the Firefox Developer Tools from the menu by selecting <strong>Tools > Web Developer > Web Developer Tools</strong> or use the keyboard shortcut <kbd class="kbd docutils literal notranslate">Ctrl</kbd> + <kbd class="kbd docutils literal notranslate">Shift</kbd> + <kbd class="kbd docutils literal notranslate">I</kbd> or <kbd class="kbd docutils literal notranslate">F12</kbd> on Windows and Linux, or <kbd class="kbd docutils literal notranslate">Cmd</kbd> + <kbd class="kbd docutils literal notranslate">Opt</kbd> + <kbd class="kbd docutils literal notranslate">I</kbd> on macOS.</p> <p>The ellipsis menu on the right-hand side of Developer Tools contains several commands that let you perform actions or change tool settings.</p> <figure class="align-center"><img alt="../_images/devtools_layoutmenu.png" src="../_images/devtools_layoutmenu.png"> </figure> <table class="docutils align-default"> <tbody> <tr class="row-odd"> <td><p><img alt="image1" class="center" src="../_images/iframe_button.png"></p></td> <td><p>This button only appears when there are multiple iframes on a page. Click it to display a list of the iframes on the current page and select the one with which you want to work.</p></td> </tr> <tr class="row-even"> <td><p><img alt="image2" class="center" src="../_images/camera_button.png"></p></td> <td><p>Click this button to take a screenshot of the current page. (<em>Note:</em> This feature is not turned on by default and must be enabled in settings before the icon will appear.)</p></td> </tr> <tr class="row-odd"> <td><p><img alt="image3" class="center" src="../_images/responsive_button.png"></p></td> <td><p>Toggles Responsive Design Mode</p></td> </tr> <tr class="row-even"> <td><p><img alt="image4" class="center" src="../_images/menu_button.png"></p></td> <td><p>Opens the menu that includes docking options, the ability to show or hide the split console, and Developer Tools settings. The menu also includes links to the documentation for Firefox Web Tools and the Mozilla Community.</p></td> </tr> <tr class="row-odd"> <td><p><img alt="image5" class="center" src="../_images/close_button.png"></p></td> <td><p>Closes the Developer Tools</p></td> </tr> </tbody> </table> <section id="page-inspector"> <h3><a class="reference external" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/page_inspector?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Page Inspector</a><a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#page-inspector" title="Link to this heading">¶</a></h3><a class="reference external image-reference" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/page_inspector?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><img alt="The all-new Inspector panel in Firefox 57." class="border" src="../_images/landingpage_pageinspector.png"></a> <p>View and edit page content and layout. Visualize many aspects of the page including the box model, animations, and grid layouts</p> </section> <section id="web-console"> <h3><a class="reference external" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/web_console?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Web Console</a><a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#web-console" title="Link to this heading">¶</a></h3><a class="reference external image-reference" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/web_console?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><img alt="The all-new Console panel in Firefox 57." class="border" src="../_images/landingpage_console.png"></a> <p>See messages logged by a web page and interact with the page using JavaScript.</p> </section> <section id="javascript-debugger"> <h3><a class="reference external" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/debugger?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">JavaScript Debugger</a><a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#javascript-debugger" title="Link to this heading">¶</a></h3><a class="reference external image-reference" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/debugger?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><img alt="The all-new Debugger panel in Firefox 57." class="border" src="../_images/landingpage_debugger.png"></a> <p>Stop, step through, and examine the JavaScript running on a page.</p> </section> <section id="network-monitor"> <h3><a class="reference external" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/network_monitor?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Network Monitor</a><a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#network-monitor" title="Link to this heading">¶</a></h3><a class="reference external image-reference" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/network_monitor?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><img alt="The Network panel in Firefox 57 DevTools." class="border" src="../_images/landingpage_network.png"></a> <p>See the network requests made when a page is loaded.</p> </section> <section id="performance-panel"> <h3><a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://profiler.firefox.com/docs/">Performance Panel</a><a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#performance-panel" title="Link to this heading">¶</a></h3><a class="reference external image-reference" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://profiler.firefox.com/docs/"><img alt="Performance Panel in Firefox 103 Developer Tools." class="border" src="../_images/landingpage_performance_2022.png"></a> <p>Analyze your site’s general responsiveness, JavaScript, and layout performance.</p> </section> <section id="responsive-design-mode"> <h3><a class="reference external" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/responsive_design_mode?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Responsive Design Mode</a><a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#responsive-design-mode" title="Link to this heading">¶</a></h3><a class="reference external image-reference" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/responsive_design_mode?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><img alt="Responsive Design mode in Firefox 57 Developer Tools." class="border" src="../_images/landingpage_responsivedesign.png"></a> <p>See how your website or app will look and behave on different devices and network types.</p> </section> <section id="accessibility-inspector"> <h3><a class="reference external" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/accessibility_inspector?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Accessibility inspector</a><a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#accessibility-inspector" title="Link to this heading">¶</a></h3><a class="reference external image-reference" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/accessibility_inspector?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><img alt="Performance Tools in Firefox 57 Developer Tools." class="border" src="../_images/landingpage_accessibility.png"></a> <p>Provides a means to access the page’s accessibility tree, allowing you to check what’s missing or otherwise needs attention.</p> </section> <section id="application-panel"> <h3><a class="reference external" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/application?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB">Application panel</a><a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#application-panel" title="Link to this heading">¶</a></h3><a class="reference external image-reference" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/application?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><img alt="Performance Tools in Firefox 57 Developer Tools." class="border" src="../_images/just-application-panel.png"></a> <p>Provides tools for inspecting and debugging modern web apps (also known as <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps">Progressive Web Apps</a>). This includes inspection of <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API">service workers</a> and <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://developer.mozilla.org/en-US/docs/Web/Manifest">web app manifests</a></p> <div class="admonition note"> <p class="admonition-title">Note</p> <p>The collective term for the UI inside which the DevTools all live is the <a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/tools_toolbox/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Toolbox</span></a></p> </div> </section> </section> <section id="more-tools"> <h2>More Tools<a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#more-tools" title="Link to this heading">¶</a></h2> <p>These developer tools are also built into Firefox. Unlike the “Core Tools” above, you might not use them every day.</p> <table class="docutils align-default"> <colgroup> <col style="width: 25.0%"> <col style="width: 75.0%"> </colgroup> <tbody> <tr class="row-odd"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/memory/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Memory</span></a></p></td> <td><p>Figure out which objects are keeping memory in use.</p></td> </tr> <tr class="row-even"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/storage_inspector/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Storage Inspector</span></a></p></td> <td><p>Inspect cookies, local storage, indexedDB, and session storage present in a page.</p></td> </tr> <tr class="row-odd"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/dom_property_viewer/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">DOM Property Viewer</span></a></p></td> <td><p>Inspect the page’s DOM properties, functions, etc.</p></td> </tr> <tr class="row-even"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/eyedropper/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Eyedropper</span></a></p></td> <td><p>Select a color from the page.</p></td> </tr> <tr class="row-odd"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/style_editor/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Style Editor</span></a></p></td> <td><p>View and edit CSS styles for the current page.</p></td> </tr> <tr class="row-even"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/taking_screenshots/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Taking screenshot</span></a></p></td> <td><p>Take a screenshot of the entire page or of a single element.</p></td> </tr> <tr class="row-odd"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/measure_a_portion_of_the_page/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Measure a portion of the page</span></a></p></td> <td><p>Measure a specific area of a web page.</p></td> </tr> <tr class="row-even"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/rulers/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Rulers</span></a></p></td> <td><p>Overlay horizontal and vertical rulers on a web page</p></td> </tr> <tr class="row-odd"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/custom_formatters/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Custom formatters</span></a></p></td> <td><p>Customize the way objects are displayed within the DevTools.</p></td> </tr> <tr class="row-even"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/javascript_tracer/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">JavaScript tracer</span></a></p></td> <td><p>Live display all JavaScript function calls.</p></td> </tr> </tbody> </table><img alt="../_images/logo-developer-quantum.png" class="center" src="../_images/logo-developer-quantum.png"> <p class="center">For the latest developer tools and features, try Firefox Developer Edition.</p> <p class="center"><a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://www.mozilla.org/en-US/firefox/developer/">Download Firefox Developer Edition</a></p> </section> <section id="connecting-the-developer-tools"> <h2>Connecting the Developer Tools<a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#connecting-the-developer-tools" title="Link to this heading">¶</a></h2> <p>If you open the developer tools using <a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/keyboard_shortcuts/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#keyboard-shortcuts-opening-and-closing-tools"><span class="std std-ref">keyboard shortcuts</span></a> or the equivalent menu items, they’ll target the document hosted by the currently active tab. But you can attach the tools to a variety of other targets, too, both within the current browser and in different browsers or even different devices.</p> <table class="docutils align-default"> <colgroup> <col style="width: 30.0%"> <col style="width: 70.0%"> </colgroup> <tbody> <tr class="row-odd"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/about_colon_debugging/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">about:debugging</span></a></p></td> <td><p>Debug add-ons, content tabs, and workers running in the browser.</p></td> </tr> <tr class="row-even"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/about_colon_debugging/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#about-colon-debugging-connecting-to-a-remote-device"><span class="std std-ref">Connecting to Firefox for Android</span></a></p></td> <td><p>Connect the developer tools to an instance of Firefox running on an Android device.</p></td> </tr> <tr class="row-odd"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/working_with_iframes/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Connecting to iframes</span></a></p></td> <td><p>Connect the developer tools to a specific iframe in the current page.</p></td> </tr> </tbody> </table> </section> <section id="debugging-the-browser"> <h2>Debugging the browser<a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#debugging-the-browser" title="Link to this heading">¶</a></h2> <p>By default, the developer tools are attached to a web page or web app. But you can also connect them to the browser as a whole. This is useful for browser and add-on development.</p> <table class="docutils align-default"> <colgroup> <col style="width: 30.0%"> <col style="width: 70.0%"> </colgroup> <tbody> <tr class="row-odd"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/browser_console/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Browser Console</span></a></p></td> <td><p>See messages logged by the browser itself and by add-ons, and run JavaScript code in the browser’s scope.</p></td> </tr> <tr class="row-even"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/browser_toolbox/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Browser Toolbox</span></a></p></td> <td><p>Attach the Developer Tools to the browser itself.</p></td> </tr> </tbody> </table> </section> <section id="extending-devtools"> <h2>Extending DevTools<a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#extending-devtools" title="Link to this heading">¶</a></h2> <p>For information on extending the Firefox DevTools, see <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Extending_the_developer_tools">Extending the developer tools</a> over in the <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions">Browser Extensions</a> section of MDN.</p> </section> <section id="migrating-from-firebug"> <h2>Migrating from Firebug<a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#migrating-from-firebug" title="Link to this heading">¶</a></h2> <p>Firebug has come to the end of its lifespan (see <a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://hacks.mozilla.org/2016/12/firebug-lives-on-in-firefox-devtools/">Firebug lives on in Firefox DevTools</a> for details of why), and we appreciate that some people will find migrating to another less familiar set of DevTools to be challenging. To ease a transition from Firebug to the Firefox developer tools, we have written a handy guide — <a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/migrating_from_firebug/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB"><span class="doc">Migrating from Firebug</span></a></p> </section> <section id="contribute"> <h2>Contribute<a class="headerlink" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools-user/?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#contribute" title="Link to this heading">¶</a></h2> <p>If you want to help improve the developer tools, these resources will get you started.</p> <table class="docutils align-default"> <colgroup> <col style="width: 30.0%"> <col style="width: 70.0%"> </colgroup> <tbody> <tr class="row-odd"> <td><p><a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://firefox-dev.tools/">Get Involved</a></p></td> <td><p>Our community website explains how to get involved.</p></td> </tr> <tr class="row-even"> <td><p><a class="reference external" href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://codetribute.mozilla.org/projects/devtools/">codetribute.mozilla.org</a></p></td> <td><p>A tool helping to find bugs to work on.</p></td> </tr> <tr class="row-odd"> <td><p><a class="reference internal" href="https://firefox--source--docs-mozilla-org.translate.goog/devtools/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB#devtools-contributor-doc"><span class="std std-ref">Read source docs</span></a></p></td> <td><p>Firefox DevTools source code documentation.</p></td> </tr> </tbody> </table> </section> </section> </div> </div> <footer> <div class="rst-footer-buttons" role="navigation" aria-label="Footer"><a href="https://firefox--source--docs-mozilla-org.translate.goog/bug-mgmt/processes/shared-bug-queues.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB" class="btn btn-neutral float-left" title="Shared Bug Queues" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> <a href="https://firefox--source--docs-mozilla-org.translate.goog/mots/index.html?_x_tr_sl=pl&_x_tr_tl=iw&_x_tr_hl=en-GB" class="btn btn-neutral float-right" title="Governance" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> </div> <hr> <div role="contentinfo"> <p></p> </div> Built with <a href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://www.sphinx-doc.org/">Sphinx</a> using a <a href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://translate.google.com/website?sl=pl&tl=iw&hl=en-GB&u=https://readthedocs.org">Read the Docs</a>. </footer> </div> </div> </section> </div> <script> jQuery(function () { SphinxRtdTheme.Navigation.enable(true); }); </script> <script>function gtElInit() {var lib = new google.translate.TranslateService();lib.translatePage('pl', 'iw', function () {});}</script> <script src="https://translate.google.com/translate_a/element.js?cb=gtElInit&hl=en-GB&client=wt" type="text/javascript"></script> </body> </html>