aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/tools/index.html
blob: 72720aafb491d091cba90dae9b4bfb8357e69c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
---
title: Ferramentas de Desenvolvimento do Firefox
slug: Tools
tags:
  - Desenvolvendo Mozilla
  - Desenvolvimento da Web
  - 'Desenvolvimento da Web: Ferramentas'
  - Ferramentas
  - Guía
  - Precisa de Tradução
  - 'l10n:priority'
translation_of: Tools
---
<div>{{ToolsSidebar}}</div>

<p class="summary">Examinar, editar, e depurar HTML, CSS, e JavaScript no PC e nos dispositivos móveis.</p>

<p>If you are looking for information on using the web developer tools available in Firefox, you've come to the right place — this page provides links to detailed information on all of the core tools and additional tools, and further information such as how to connect to and debug Firefox for Android, how to extend the devtools, and how to debug the browser as a whole.</p>

<p>Please explore the links found in the sidebar, and further down the page. If you have any feedback or questions about the devtools, send us messages on our mailing list or IRC channel (see the <a href="/en-US/docs/Tools#Join_the_Developer_tools_community">community links near the bottom of the page</a>). If you have any feedback or questions specifically about the documentation, the <a href="https://discourse.mozilla.org/c/mdn">MDN discourse</a> is a good place to post.</p>

<div class="note">
<p><strong>Nota</strong>: If you are a beginner to web development and using developer tools, our <a href="/en-US/docs/Learn">learning web development</a> docs will help you — see <a href="/en-US/docs/Learn/Getting_started_with_the_web">Getting started with the Web</a> and <a href="/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools">What are browser developer tools?</a> for good starting points.</p>
</div>

<h2 id="As_Ferramentas_Principais">As Ferramentas Principais</h2>

<p>The right-hand side of the Developer Tools toolbar, which can be opened with  <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd> on Windows and Linux, or <kbd>Cmd</kbd> + <kbd>Opt</kbd> + <kbd>I</kbd> on OS X, contains several buttons that let you perform actions or change tool settings.</p>

<p><img alt="" src="https://mdn.mozillademos.org/files/16087/DevTools_LayoutMenu.png" style="height: 290px; width: 225px;"></p>

<table class="standard-table" style="height: 178px; width: 840px;">
 <tbody>
  <tr>
   <td><img alt="" src="https://mdn.mozillademos.org/files/16092/iframe_button.png" style="height: 69px; width: 69px;"></td>
   <td>This button will only appear 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.</td>
  </tr>
  <tr>
   <td><img alt="" src="https://mdn.mozillademos.org/files/16088/camera_button.png" style="height: 69px; width: 69px;"></td>
   <td>Click this button to take a screenshot of the current page. (<strong>Note:</strong> This feature is not turned on by default and must be enabled in settings before the icon will appear.)</td>
  </tr>
  <tr>
   <td><img alt="" src="https://mdn.mozillademos.org/files/16089/responsive_button.png" style="height: 69px; width: 69px;"></td>
   <td>Toggles Responsive Design Mode.</td>
  </tr>
  <tr>
   <td><img alt="" src="https://mdn.mozillademos.org/files/16090/menu_button.png" style="height: 69px; width: 69px;"></td>
   <td>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.</td>
  </tr>
  <tr>
   <td><img alt="" src="https://mdn.mozillademos.org/files/16091/close_button.png" style="height: 69px; width: 69px;"></td>
   <td>Closes the Developer Tools</td>
  </tr>
 </tbody>
</table>

<div class="column-container">
<div class="column-half">
<h3 id="Inspetor_de_Página">Inspetor de Página</h3>

<p><a href="/en-US/docs/Tools/Page_Inspector"><img alt="" src="https://mdn.mozillademos.org/files/14532/inspector.png" style="display: block; height: 257px; margin-left: auto; margin-right: auto; width: 425px;"></a></p>

<p>Ver e editar conteúdo e apresentação da página. Visualize muitos aspetos da página, incluindo o modelo de caixa, animações e apresentações de grelha.</p>
</div>

<div class="column-half">
<h3 id="Consola_da_Web">Consola da Web</h3>

<p><a href="/en-US/docs/Tools/Web_Console"><img alt="" src="https://mdn.mozillademos.org/files/14528/console.png" style="display: block; height: 257px; margin-left: auto; margin-right: auto; width: 425px;"></a></p>

<p>Ver mensagens registadas por uma página da Web e interagir com a página utilizando o JavaScript.</p>
</div>
</div>

<hr>
<div class="column-container">
<div class="column-half">
<h3 id="Depurador_de_JavaScript">Depurador de JavaScript</h3>

<p><a href="/en-US/docs/Tools/Debugger"><img alt="" src="https://mdn.mozillademos.org/files/14542/debugger.png" style="display: block; height: 1026px; margin-left: auto; margin-right: auto; width: 425px;"></a></p>

<p>Parar, explorar, examinar e modificar o JavaScript em execução numa página.</p>
</div>

<div class="column-half">
<h3 id="Monitor_de_Rede">Monitor de Rede</h3>

<p><a href="/en-US/docs/Tools/Network_Monitor"><img alt="" src="https://mdn.mozillademos.org/files/14534/network-monitor.png" style="display: block; height: 257px; margin-left: auto; margin-right: auto; width: 425px;"></a></p>

<p>Ver os pedidos de rede efetuados quando uma página é carregada.</p>
</div>
</div>

<hr>
<div class="column-container">
<div class="column-half">
<h3 id="Ferramentas_de_Desempenho">Ferramentas de Desempenho</h3>

<p><a href="/en-US/docs/Tools/Performance"><img alt="" src="https://mdn.mozillademos.org/files/14536/performance.png" style="display: block; height: 1026px; margin-left: auto; margin-right: auto; width: 425px;"></a></p>

<p>Analise a reação geral do site, JavaScript, e desempenho da apresentação.</p>
</div>

<div class="column-half">
<h3 id="Modo_de_Desenho_Responsivo">Modo de Desenho Responsivo</h3>

<p><a href="/en-US/docs/Tools/Responsive_Design_Mode"><img alt="" src="https://mdn.mozillademos.org/files/14538/rdm.png" style="display: block; height: 1542px; margin-left: auto; margin-right: auto; width: 425px;"></a></p>

<p>Veja como o seu site da Web ou a aplicação serão apresentados e se comportam nos diferentes dispositivos e tipos de rede.</p>
</div>
</div>

<div class="note">
<p><strong>Nota</strong>: The collective term for the UI inside which the DevTools all live is the <a href="/en-US/docs/Tools/Tools_Toolbox">Toolbox</a>.</p>
</div>

<h2 id="Mais_Ferramentas">Mais Ferramentas</h2>

<p>Estas ferramentas de desenvolvimento também estão integradas no Firefox. Ao contrário das 'Ferramentas Principais' acima, pode não utilizá-las todos os dias.</p>

<div class="twocolumns">
<dl>
 <dt><a href="/pt-PT/docs/Tools/Memoria">Memória</a></dt>
 <dd>Figure out which objects are keeping memory in use.</dd>
 <dt><a href="/pt-PT/docs/Tools/Inspetor_de_armazenamento">Inspetor de Armazenamento</a> </dt>
 <dd>Inspect cookies, local storage, indexedDB, and session storage present in a page.</dd>
 <dt><a href="/en-US/docs/Tools/DOM_Property_Viewer">DOM Property Viewer</a></dt>
 <dd>Inspect the page's DOM properties, functions, etc.</dd>
 <dt><a href="/pt-PT/docs/Tools/GCLI">Barra de Ferramentas do Programador</a></dt>
 <dd>A command-line interface for the developer tools.</dd>
 <dt><a href="/en-US/docs/Tools/Eyedropper">Eyedropper</a></dt>
 <dd>Select a color from the page.</dd>
 <dt><a href="/en-US/docs/Tools/Scratchpad">Scratchpad</a></dt>
 <dd>A text editor built into Firefox that lets you write and execute JavaScript.</dd>
 <dt><a href="/en-US/docs/Tools/Style_Editor">Style Editor</a></dt>
 <dd>View and edit CSS styles for the current page.</dd>
 <dt><a href="/en-US/docs/Tools/Shader_Editor">Shader Editor</a></dt>
 <dd>View and edit the vertex and fragment shaders used by <a href="/en-US/docs/Web/WebGL">WebGL</a>.</dd>
 <dt><a href="/pt-PT/docs/Tools/Editor_de_audio_da_Web">Editor de Áudio da Web</a></dt>
 <dd>Examine the graph of audio nodes in an audio context, and modify their parameters.</dd>
 <dt><a href="/pt-PT/docs/Tools/Capturas_de_ecra">Capturas de ecrã</a></dt>
 <dd>Efetuar uma captura de ecrã de uma página completa ou de um único elemento.</dd>
 <dt><a href="/en-US/docs/Tools/Measure_a_portion_of_the_page">Measure a portion of the page</a></dt>
 <dd>Measure a specific area of a web page.</dd>
 <dt><a href="/en-US/docs/Tools/Rulers">Rulers</a></dt>
 <dd>Overlay horizontal and vertical rulers on a web page</dd>
</dl>
</div>

<div class="column-container">
<div class="column-third">
<p><img alt="" src="https://mdn.mozillademos.org/files/15588/logo-developer-quantum.png" style="display: block; margin: 0px auto;"></p>

<p style="text-align: center;">Para as ferramentas e recursos mais recentes para os programadores, experimente o Firefox Developer Edition.</p>

<p><a href="https://www.mozilla.org/pt-PT/firefox/developer/" style="width: 300px; display: block; margin-left: auto; margin-right: auto; padding: 10px; text-align: center; border-radius: 4px; background-color: #81BC2E; white-space: nowrap; color: white; text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.2), 0px -1px 0px 0px rgba(0, 0, 0, 0.3) inset;">Transferir Edição de Desenviolvimento</a></p>
</div>

<div class="column-third"></div>
</div>

<h2 id="Ligação_das_Ferramentas_de_Desenvolvimento">Ligação das Ferramentas de Desenvolvimento</h2>

<p>Se abrir as ferramentas de desenvolvimento utilizando os <a href="/pt-PT/docs/Tools/atalhos_de_teclado">atalhos de teclado</a> ou os itens de menu equivalentes, eles irão apontar para o documento hospedado no separador ativo. Mas pode anexar as ferramentas a uma variedades de outros destinos, também, ambos dentro do navegador atual e em navgeadores diferentes ou atém em dispositivos diferentes.</p>

<div class="twocolumns">
<dl>
 <dt><a href="/pt-PT/docs/Tools/about:debugging">about:debugging</a></dt>
 <dd>Depurar extras, separadores de conteúdo, e <em>workers</em> em execução no navegador.</dd>
 <dt><a href="/en-US/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_over_Wifi">Connecting to Firefox for Android</a></dt>
 <dd>Connect the developer tools to an instance of Firefox running on an Android device.</dd>
 <dt><a href="/en-US/docs/Tools/Working_with_iframes">Connecting to iframes</a></dt>
 <dd>Connect the developer tools to a specific iframe in the current page.</dd>
 <dt><a href="/en-US/docs/Tools/Valence">Connecting to other browsers</a></dt>
 <dd>Connect the developer tools to Chrome on Android and Safari on iOS.</dd>
</dl>
</div>

<h2 id="Debugging_the_browser" name="Debugging_the_browser">Depurar o navegador</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>

<div class="twocolumns">
<dl>
 <dt><a href="/pt-PT/docs/Tools/Consola_do_navegador">Consola do Navegador</a></dt>
 <dd>See messages logged by the browser itself and add-ons, and run JavaScript code in the browser's scope.</dd>
 <dt><a href="/pt-PT/docs/Tools/Caixa_de_ferramentas_do_navegador">Caixa de Ferramentas do Navegador</a></dt>
 <dd>Attach the Developer Tools to the browser itself.</dd>
</dl>
</div>

<h2 id="Extending_the_devtools" name="Extending_the_devtools">Aumentar as ferramentas de desenvolvimento</h2>

<p>The developer tools are designed to be extensible. Firefox add-ons can access the developer tools and the components they use to extend existing tools and add new tools. With the remote debugging protocol you can implement your own debugging clients and servers, enabling you to debug websites using your own tools or to debug different targets using the Firefox tools.</p>

<div class="twocolumns">
<dl>
 <dt><a href="/en-US/docs/Tools/Adding_a_panel_to_the_toolbox">Adicione um novo painel às ferramentas de desenvolvimento</a></dt>
 <dd>Write an add-on that adds a new panel to the Toolbox.</dd>
 <dt><a href="https://wiki.mozilla.org/Remote_Debugging_Protocol">Protocolod e Deputação Remoto</a></dt>
 <dd>The protocol used to connect the Firefox Developer Tools to a debugging target like an instance of Firefox or a Firefox OS device.</dd>
 <dt><a href="/en-US/docs/Tools/Editor">Editor de Fonte</a></dt>
 <dd>A code editor built into Firefox that can be embedded in your add-on.</dd>
 <dt><a href="/pt-PT/docs/Tools/Depurador_API">A Interface do Depurador</a></dt>
 <dd>An API that lets JavaScript code observe the execution of other JavaScript code. The Firefox Developer Tools use this API to implement the JavaScript debugger.</dd>
 <dt><a href="/pt-PT/docs/Tools/Consola_da_Web/Saida_personalizada">Consola da Web - saída personalizada</a></dt>
 <dd>How to extend and customize the output of the <a href="/en-US/docs/Tools/Web_Console">Web Console</a> and the <a href="/en-US/docs/Tools/Browser_Console">Browser Console</a>.</dd>
 <dt><a href="/pt-PT/docs/Tools/Exemplo_de_extras">Exemplo de extras das ferramentas de desenvolvimento</a></dt>
 <dd>Utilize estes exemplos para compreender como implementar um add-on das ferramentas de desenvolvimento.</dd>
</dl>
</div>

<h2 id="Migração_do_Firebug">Migração do Firebug</h2>

<p>Firebug is coming to the end of its lifespan (see <a href="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 href="/en-US/docs/Tools/Migrating_from_Firebug">Migrating from Firebug</a>.</p>

<h2 id="Contribuir">Contribuir</h2>

<p>If you want to help to improve the developer tools, these resources will get you started.</p>

<div class="twocolumns">
<dl>
 <dt><a href="https://devtools-html.github.io/#getting-in-touch">Participe</a></dt>
 <dd>Mozilla wiki page explaining how to get involved.</dd>
 <dt><a href="http://firefox-dev.tools/">firefox-dev.tools</a></dt>
 <dd>A tool helping to find bugs to work on.</dd>
</dl>
</div>