]> granicus.if.org Git - php/commitdiff
Provide commands for getting started
authorPhil Sturgeon <email@philsturgeon.co.uk>
Fri, 6 Dec 2013 21:44:24 +0000 (16:44 -0500)
committerPhil Sturgeon <email@philsturgeon.co.uk>
Fri, 6 Dec 2013 21:44:24 +0000 (16:44 -0500)
tutorials/intro.md

index 05d5708ada41e6b0db9ea91554eed810e101a466..0442413499cba4d112a7caa99c7a91b28cdd180b 100644 (file)
@@ -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`: