From: krakjoe Date: Fri, 29 Nov 2013 20:03:50 +0000 (+0000) Subject: ... X-Git-Tag: php-5.6.0alpha1~110^2~30^2~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=195c518dd12a8c4fa29f20d1fdab4cc0b29c74cd;p=php ... --- diff --git a/tutorials/remote.md b/tutorials/remote.md index aed145f30d..72bac6efb1 100644 --- a/tutorials/remote.md +++ b/tutorials/remote.md @@ -23,8 +23,31 @@ This will initialize phpdbg in Remote Console Mode, using port 4000 for stdin an To stop the service, send *SIGINT* to the phpdbg process, this will force it to bailout, as gracefully as it ever does. -*To get help using these options see the help menu in phpdbg "help options"* +Specific Ports +-------------- +To listen on specific ports, the -l flag will accept a pair of ports in the following way: + +``` +./phpdbg -l4000/8000 +``` + +Specific Interfaces +------------------- + +To bind to a specific interface, or all interfaces use the -a flag: + +``` +./phpdbg -l4000 -a192.168.0.3 +``` + +Will bind the Remote Console to the interface with the specified address, while: + +``` +./phpdbg -l4000 -a +``` + +Will bind the Remote Console to all available addresses. Starting phpdbg-jui Anywhere ============================