From: Phil Sturgeon Date: Fri, 6 Dec 2013 21:44:24 +0000 (-0500) Subject: Provide commands for getting started X-Git-Tag: php-5.6.0alpha1~110^2~29^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cd5d75f4c4e1e3157b06434b18252a54e44fef9;p=php Provide commands for getting started --- diff --git a/tutorials/intro.md b/tutorials/intro.md index 05d5708ada..0442413499 100644 --- a/tutorials/intro.md +++ b/tutorials/intro.md @@ -4,6 +4,11 @@ Getting started with phpdbg phpdbg provides an interactive environment to debug PHP; it is implemented and distributed as a SAPI module - just as the CLI interface. +``` +cd /usr/src/php-src/sapi/phpdbg +./phpdbg -e test.php +``` + ![Welcome to phpdbg](https://raw.github.com/krakjoe/phpdbg/master/tutorials/welcome.png) phpdbg integrates with, and initializes, the Zend environment; from the moment the console is open you can start to manipulate the environment in order to prepare your debugging session. If you have used other debuggers, phpdbg should hopefully feel familiar, but you can always ask for `help`: