mirror of
https://github.com/php/doc-es.git
synced 2026-03-23 23:12:09 +01:00
253 lines
5.9 KiB
XML
253 lines
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 06f14554e7e5d9a47de0eff61578759fea2e23d9 Maintainer: PhilDaiguille Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
<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 interactivo PHP</title>
|
|
<titleabbrev>phpdbg</titleabbrev>
|
|
|
|
<preface xml:id="intro.phpdbg">
|
|
&reftitle.intro;
|
|
<simpara>
|
|
Implementado como un módulo SAPI, phpdbg puede ejercer un control completo sobre el entorno
|
|
sin afectar la funcionalidad o el rendimiento del código.
|
|
</simpara>
|
|
<para>
|
|
phpdbg tiene como objetivo ser una plataforma de depuración ligera, potente y fácil de usar para PHP.
|
|
Ofrece las siguientes funcionalidades:
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>Depuración paso a paso</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Punto de interrupción flexible (método de clase, función, archivo:línea, dirección, opcode)</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Acceso fácil a PHP con eval() integrado</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Una API de usuario</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>SAPI Agnóstico - Fácilmente integrable</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Soporte de archivo de configuración PHP</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Super Globales JIT - ¡Defina las suyas!!</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Soporte readline opcional - Operación cómoda del terminal</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Operación fácil - Consulte la ayuda :)</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
|
|
<table>
|
|
<title>Opción de línea de comandos</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Opción</entry>
|
|
<entry>Argumento de ejemplo</entry>
|
|
<entry>Descripción</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>-c</entry>
|
|
<entry>-c/my/php.ini</entry>
|
|
<entry>
|
|
Define el archivo php.ini a cargar
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-d</entry>
|
|
<entry>-dmemory_limit=4G</entry>
|
|
<entry>
|
|
Define una directiva php.ini
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-n</entry>
|
|
<entry/>
|
|
<entry>
|
|
Desactiva el php.ini por defecto
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-q</entry>
|
|
<entry/>
|
|
<entry>
|
|
Suprime el banner de bienvenida
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-v</entry>
|
|
<entry/>
|
|
<entry>
|
|
Activa la salida oplog
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-b</entry>
|
|
<entry/>
|
|
<entry>
|
|
Desactiva el color
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-i</entry>
|
|
<entry>-imy.init</entry>
|
|
<entry>
|
|
Define el archivo .phpdbginit
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-I</entry>
|
|
<entry/>
|
|
<entry>
|
|
Ignora el .phpdbginit por defecto
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-O</entry>
|
|
<entry>-Omy.oplog</entry>
|
|
<entry>
|
|
Define el archivo de salida oplog
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-r</entry>
|
|
<entry/>
|
|
<entry>
|
|
Ejecuta el contexto de ejecución
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-rr</entry>
|
|
<entry/>
|
|
<entry>
|
|
Ejecuta el contexto de ejecución y sale después de la ejecución (sin respetar los puntos de interrupción)
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-e</entry>
|
|
<entry/>
|
|
<entry>
|
|
Genera información extendida para el depurador/profiler
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-E</entry>
|
|
<entry/>
|
|
<entry>
|
|
Activa la evaluación paso a paso con eval, ¡atención!
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-s</entry>
|
|
<entry>-s=, -s=foo</entry>
|
|
<entry>
|
|
Lee el código a ejecutar desde stdin con un delimitador opcional
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-S</entry>
|
|
<entry>-Scli</entry>
|
|
<entry>
|
|
Sobrescribe el nombre SAPI, ¡atención!
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry/>
|
|
<entry/>
|
|
<entry>
|
|
<simpara>
|
|
</simpara>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-l</entry>
|
|
<entry>-l4000</entry>
|
|
<entry>
|
|
Establece el puerto de la consola remota
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-a</entry>
|
|
<entry>-a192.168.0.3</entry>
|
|
<entry>
|
|
Establece la dirección de enlace de la consola remota
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-x</entry>
|
|
<entry/>
|
|
<entry>
|
|
Activa la salida xml (en lugar de la salida de texto normal)
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-p</entry>
|
|
<entry>-p, -p=func, -p*</entry>
|
|
<entry>
|
|
Muestra los opcodes y sale
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-h</entry>
|
|
<entry/>
|
|
<entry>
|
|
Muestra el resumen de ayuda
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>-V</entry>
|
|
<entry/>
|
|
<entry>
|
|
Muestra el número de versión
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>--</entry>
|
|
<entry>-- arg1 arg2</entry>
|
|
<entry>
|
|
Utilizado para delimitar los argumentos phpdbg y php $argv; añada cualquier argumento $argv después
|
|
</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
|
|
-->
|