<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.php.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'book.phpdbg.php',
    1 => 'phpdbg',
    2 => 'Interactive PHP Debugger',
  ),
  'up' => 
  array (
    0 => 'refs.basic.php.php',
    1 => 'Das Verhalten von PHP beeinflussen',
  ),
  'prev' => 
  array (
    0 => 'function.zend-version.php',
    1 => 'zend_version',
  ),
  'next' => 
  array (
    0 => 'phpdbg.setup.php',
    1 => 'Installation/Konfiguration',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/phpdbg/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.phpdbg.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.phpdbg" class="book">
 
 <h1 class="title">Interactive PHP Debugger</h1>
 

 <div id="intro.phpdbg" class="preface">
  <h1 class="title">Einführung</h1>
  <p class="simpara">
   Implemented as a SAPI module, phpdbg can exert complete control over the
   environment without impacting the functionality or performance of your code.
  </p>
  <p class="para">
   phpdbg aims to be a lightweight, powerful, easy to use debugging platform for PHP.
   It offers the following features:
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">Step-Through Debugging</span>
    </li>
    <li class="listitem">
     <span class="simpara">Flexible Breakpoints (Class Method, Function, File:Line, Address, Opcode)</span>
    </li>
    <li class="listitem">
     <span class="simpara">Easy Access to PHP with built-in eval()</span>
    </li>
    <li class="listitem">
     <span class="simpara">Userland API</span>
    </li>
    <li class="listitem">
     <span class="simpara">SAPI Agnostic - Easily Integrated</span>
    </li>
    <li class="listitem">
     <span class="simpara">PHP Configuration File Support</span>
    </li>
    <li class="listitem">
     <span class="simpara">JIT Super Globals - Set Your Own !!</span>
    </li>
    <li class="listitem">
     <span class="simpara">Optional readline Support - Comfortable Terminal Operation</span>
    </li>
    <li class="listitem">
     <span class="simpara">Easy Operation - See Help :)</span>
    </li>
   </ul>
  </p>

  <table class="doctable table">
   <caption><strong>Command line options</strong></caption>
   
    <thead>
     <tr>
      <th>Option</th>
      <th>Example Argument</th>
      <th>Description</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>-c</td>
      <td>-c/my/php.ini</td>
      <td>
       Set php.ini file to load
      </td>
     </tr>

     <tr>
      <td>-d</td>
      <td>-dmemory_limit=4G</td>
      <td>
       Set a php.ini directive
      </td>
     </tr>

     <tr>
      <td>-n</td>
      <td class="empty">&nbsp;</td>
      <td>
       Disable default php.ini
      </td>
     </tr>

     <tr>
      <td>-q</td>
      <td class="empty">&nbsp;</td>
      <td>
       Suppress welcome banner
      </td>
     </tr>

     <tr>
      <td>-v</td>
      <td class="empty">&nbsp;</td>
      <td>
       Enable oplog output
      </td>
     </tr>

     <tr>
      <td>-b</td>
      <td class="empty">&nbsp;</td>
      <td>
       Disable color
      </td>
     </tr>

     <tr>
      <td>-i</td>
      <td>-imy.init</td>
      <td>
       Set .phpdbginit file
      </td>
     </tr>

     <tr>
      <td>-I</td>
      <td class="empty">&nbsp;</td>
      <td>
       Ignore default .phpdbginit
      </td>
     </tr>

     <tr>
      <td>-O</td>
      <td>-Omy.oplog</td>
      <td>
       Set oplog output file
      </td>
     </tr>

     <tr>
      <td>-r</td>
      <td class="empty">&nbsp;</td>
      <td>
       Run execution context
      </td>
     </tr>

     <tr>
      <td>-rr</td>
      <td class="empty">&nbsp;</td>
      <td>
       Run execution context and quit after execution (not respecting breakpoints)
      </td>
     </tr>

     <tr>
      <td>-e</td>
      <td class="empty">&nbsp;</td>
      <td>
       Generate extended information for debugger/profiler
      </td>
     </tr>

     <tr>
      <td>-E</td>
      <td class="empty">&nbsp;</td>
      <td>
       Enable step through eval, careful!
      </td>
     </tr>

     <tr>
      <td>-s</td>
      <td>-s=, -s=foo</td>
      <td>
       Read code to execute from stdin with an optional delimiter
      </td>
     </tr>

     <tr>
      <td>-S</td>
      <td>-Scli</td>
      <td>
       Override SAPI name, careful!
      </td>
     </tr>

     <tr>
      <td class="empty">&nbsp;</td>
      <td class="empty">&nbsp;</td>
      <td>
       <span class="simpara">
       </span>
      </td>
     </tr>

     <tr>
      <td>-l</td>
      <td>-l4000</td>
      <td>
       Setup remote console ports
      </td>
     </tr>

     <tr>
      <td>-a</td>
      <td>-a192.168.0.3</td>
      <td>
       Setup remote console bind address
      </td>
     </tr>

     <tr>
      <td>-x</td>
      <td class="empty">&nbsp;</td>
      <td>
       Enable xml output (instead of normal text output)
      </td>
     </tr>

     <tr>
      <td>-p</td>
      <td>-p, -p=func, -p*</td>
      <td>
       Output opcodes and quit
      </td>
     </tr>

     <tr>
      <td>-h</td>
      <td class="empty">&nbsp;</td>
      <td>
       Print the help overview
      </td>
     </tr>

     <tr>
      <td>-V</td>
      <td class="empty">&nbsp;</td>
      <td>
       Print version number
      </td>
     </tr>

     <tr>
      <td>--</td>
      <td>-- arg1 arg2</td>
      <td>
       Use to delimit phpdbg arguments and php $argv; append any $argv argument after it
      </td>
     </tr>

    </tbody>
   
  </table>


 </div>

 






 




 







<ul class="chunklist chunklist_book"><li><a href="phpdbg.setup.php">Installation/Konfiguration</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="phpdbg.configuration.php">Laufzeit-Konfiguration</a></li></ul></li><li><a href="phpdbg.constants.php">Vordefinierte Konstanten</a></li><li><a href="ref.phpdbg.php">phpdbg Funktionen</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.phpdbg-break-file.php">phpdbg_break_file</a> — Inserts a breakpoint at a line in a file</li><li><a href="function.phpdbg-break-function.php">phpdbg_break_function</a> — Inserts a breakpoint at entry to a function</li><li><a href="function.phpdbg-break-method.php">phpdbg_break_method</a> — Inserts a breakpoint at entry to a method</li><li><a href="function.phpdbg-break-next.php">phpdbg_break_next</a> — Inserts a breakpoint at the next opcode</li><li><a href="function.phpdbg-clear.php">phpdbg_clear</a> — Clears all breakpoints</li><li><a href="function.phpdbg-color.php">phpdbg_color</a> — Sets the color of certain elements</li><li><a href="function.phpdbg-end-oplog.php">phpdbg_end_oplog</a> — Ends an oplog</li><li><a href="function.phpdbg-exec.php">phpdbg_exec</a> — Attempts to set the execution context</li><li><a href="function.phpdbg-get-executable.php">phpdbg_get_executable</a> — Gets executable</li><li><a href="function.phpdbg-prompt.php">phpdbg_prompt</a> — Sets the command prompt</li><li><a href="function.phpdbg-start-oplog.php">phpdbg_start_oplog</a> — Starts an oplog</li></ul></li></ul></div><?php manual_footer($setup); ?>