[xdebug-general] Xdebug with cli mode

From: Osdeni José Sadzinski <osdeni[@]gmail.com>
Date: Wed, 23 Feb 2011 17:41:44 -0300

I have the following scenario: the index.php script makes a call to
the shell_exec ('php page.php'), I wish to debug existing variables
inside the script page.php, and I run debug on the index.php . is this
possible?

example the code what i have:

index.php (file I need to debug)
--------------
$a = 1;
$b = 2;
$c = $a+$b;
shell_exec('php page.php');

page.php
---------------
$i = 2;
$j = 3;
$k = $i+$j;
Received on Wed Feb 23 2011 - 20:41:45 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST