How to test/trace execution of PHP scripts?
Posted: Sat Apr 07, 2012 3:10 am
Sorry for this newbie question:
How can I easily test/trace an existing *.php script?
This should be done with a minimum of extra installation/configuration.
I can imagine that there is e.g. a wrapper script "trace.php" which does the job for me similar to
http://localhost/trace.php?testscript=myscript.php
After entering the URL above the trace wrapper script should automatically output the content of all relevant, next used variables BEFORE each command and then execute the next command before proceeding to the next command.
Is this somehow possible?
Thank you
Peter
How can I easily test/trace an existing *.php script?
This should be done with a minimum of extra installation/configuration.
I can imagine that there is e.g. a wrapper script "trace.php" which does the job for me similar to
http://localhost/trace.php?testscript=myscript.php
After entering the URL above the trace wrapper script should automatically output the content of all relevant, next used variables BEFORE each command and then execute the next command before proceeding to the next command.
Is this somehow possible?
Thank you
Peter