mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
252 lines
5.8 KiB
XML
252 lines
5.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 06f14554e7e5d9a47de0eff61578759fea2e23d9 Maintainer: marcosmarcolin Status: ready --><!-- CREDITS: marcosmarcolin -->
|
|
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="book.phpdbg">
|
|
<?phpdoc extension-membership="bundled" ?>
|
|
<title>Depurador PHP Interativo</title>
|
|
<titleabbrev>phpdbg</titleabbrev>
|
|
|
|
<preface xml:id="intro.phpdbg">
|
|
&reftitle.intro;
|
|
<simpara>
|
|
Implementado como um módulo SAPI, o phpdbg pode exercer controle total sobre o ambiente sem afetar
|
|
a funcionalidade ou o desempenho do seu código.
|
|
</simpara>
|
|
<para>
|
|
O phpdbg visa ser uma plataforma de depuração leve, poderosa e fácil de usar para PHP.
|
|
Ele oferece os seguintes recursos:
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>Depuração passo a passo</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Pontos de interrupção flexíveis(método de classe, função, arquivo: linha, endereço, opcode)</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Fácil acesso ao PHP com built-in eval()</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>API de usuário</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>SAPI Agnóstico - Facilmente integrado</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Suporte ao arquivo de configuração do PHP</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>JIT super globais</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Suporte readline opcional - operação confortável do terminal</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Operação fácil - Veja ajuda :)</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
|
|
<table>
|
|
<title>Opções de linha de comando</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Opção</entry>
|
|
<entry>Exemplo de Argumento</entry>
|
|
<entry>Descrição</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>-c</entry>
|
|
<entry>-c/my/php.ini</entry>
|
|
<entry>
|
|
Defina o arquivo php.ini para carregar
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-d</entry>
|
|
<entry>-dmemory_limit=4G</entry>
|
|
<entry>
|
|
Definir uma diretiva php.ini
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-n</entry>
|
|
<entry/>
|
|
<entry>
|
|
Desativar php.ini padrão
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-q</entry>
|
|
<entry/>
|
|
<entry>
|
|
Suprimir mensagem de boas-vindas
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-v</entry>
|
|
<entry/>
|
|
<entry>
|
|
Ativar saída do oplog
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-b</entry>
|
|
<entry/>
|
|
<entry>
|
|
Desativar cor
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-i</entry>
|
|
<entry>-imy.init</entry>
|
|
<entry>
|
|
Definir arquivo .phpdbginit
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-I</entry>
|
|
<entry/>
|
|
<entry>
|
|
Ignorar .phpdbginit padrão
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-O</entry>
|
|
<entry>-Omy.oplog</entry>
|
|
<entry>
|
|
Definir arquivo de saída oplog
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-r</entry>
|
|
<entry/>
|
|
<entry>
|
|
Executar contexto de execução
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-rr</entry>
|
|
<entry/>
|
|
<entry>
|
|
Execute o contexto de execução e saia após a execução (não respeitando os pontos de interrupção)
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-e</entry>
|
|
<entry/>
|
|
<entry>
|
|
Gerar informações estendidas para depurador/criador de perfil
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-E</entry>
|
|
<entry/>
|
|
<entry>
|
|
Habilitar eval passo a passo, cuidado!
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-s</entry>
|
|
<entry>-s=, -s=foo</entry>
|
|
<entry>
|
|
Leia o código para executar a partir do stdin com um delimitador opcional
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-S</entry>
|
|
<entry>-Scli</entry>
|
|
<entry>
|
|
Substitua o nome SAPI, cuidado!
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry/>
|
|
<entry/>
|
|
<entry>
|
|
<simpara>
|
|
</simpara>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-l</entry>
|
|
<entry>-l4000</entry>
|
|
<entry>
|
|
Configurar portas de console remoto
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-a</entry>
|
|
<entry>-a192.168.0.3</entry>
|
|
<entry>
|
|
Configurar endereço de ligação do console remoto
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-x</entry>
|
|
<entry/>
|
|
<entry>
|
|
Ativar saída xml (em vez da saída de texto normal)
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-p</entry>
|
|
<entry>-p, -p=func, -p*</entry>
|
|
<entry>
|
|
Opcodes de saída e sair
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-h</entry>
|
|
<entry/>
|
|
<entry>
|
|
Imprima a visão geral da ajuda
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-V</entry>
|
|
<entry/>
|
|
<entry>
|
|
Número da versão impressa
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>--</entry>
|
|
<entry>-- arg1 arg2</entry>
|
|
<entry>
|
|
Use para delimitar argumentos phpdbg e php $argv; acrescente qualquer argumento $argv depois dele
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
|
|
</preface>
|
|
|
|
&reference.phpdbg.setup;
|
|
&reference.phpdbg.constants;
|
|
&reference.phpdbg.reference;
|
|
|
|
</book>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|