For example:
[dd@hh tst]$ ./dbg-cli --cgi=./php ./info.php
DBG php debugger, version 2.11.32, Copyright 2001, 2005, Dmitri Dmitrienko, www.nusphere.com
Reading symbols from ./info.php...done.
dbg>run
Starting program: `./info.php'
/home/dd/php/tst/info.php:2 </home/dd/php/tst/info.php::main()>
dbg>step
/home/dd/php/tst/info.php:3 </home/dd/php/tst/info.php::main()>
dbg>step
/home/dd/php/tst/info.php:4 </home/dd/php/tst/info.php::main()>
dbg>step
Program exited. |
File info.php is very simple:
<?php
echo "hello";
phpinfo();
?> |