Re: Re: how to debug on windows
| From: | Tony Leake | Date: | Thu, 14 Aug 2003 07:30:41 +0000 |
| Subject: | Re: Re: how to debug on windows | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3702@lists.php.net to get a copy of this message | ||
On Thu, 2003-08-14 at 03:34, Aaron wrote:
> I always use batch files to execute my apps, with the following contents:
>
> @echo off
> <path to php binaries>\php.exe <name of script>
> pause
>
> The pause allows you to read the error messages :)
>
What I did in the end, bearing in mind I'm really only used to working
in Linux is:
set up php to log to a file
shared the folder,
mounted it under linux
tail the logs so i see errors in real time and used php's error_log
function to print out messages.
Also got to use my fave editor.
Thanks for all of the suggestions
tony
--
There are two ways to write error-free programs; only the third one
works.