To integrate the Tracy debugger into Scriptcase, follow these steps:
-
Enable mod_rewrite in Apache.
-
Place the tracy folder in the server’s root directory (e.g., /var/www/html/tracy). Attached file: tracy.zip
-
On php.ini
error_reporting = E_ALL
display_errors = On
display_starup_erorrs = On -
Place the .htaccess file in the folder:
/var/www/html/scriptcase/app/
with the content:
php_value auto_prepend_file "/var/www/html/tracy/index.php"
This integrates the Tracy debugger, which adds a bar to the bottom right corner.
Code to test:

echo "Integrating Tracy into Scriptcase";
$var = 1;
$trac_var['Line 5'] = $var;
$another_var = "Hello World ".$var;
bdump($another_var, "Another var value");
$var++;
$trac_var['Line 11'] = $var;
bdump($trac_var, "\$var");
bdump($_GLOBLAS, "GLOBALS");
bdump($this, "THIS");
Result
More information at
