RE: [PHP] display_errors in DEV
| From: | Boyd, Todd M. | Date: | Tue, 21 Oct 2008 18:32:51 +0000 |
| Subject: | RE: [PHP] display_errors in DEV | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282209@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: ceo@l-i-e.com [mailto:ceo@l-i-e.com]
> Sent: Tuesday, October 21, 2008 11:33 AM
> To: php-general@lists.php.net
> Subject: [PHP] display_errors in DEV
>
>
> Until recently, I've thought that display_errors in DEV was "good"
>
> But as soon as you move into Ajax Web 2.0 world, it really doesn't cut
> it.
>
> You'll never see the E_NOTICE and E_WARNING errors for Ajax, probably,
> and the whole thing might "just work" but you'll have plenty of buggy
> code.
>
> I think it's time for the PHP team to recommend log_errors across the
> board.
>
> What do you think?
Report via Javascript exceptions. If you're debugging with your browser
(i.e., Web Developer plug-in for Firefox, or even the plain, built-in
debuggers will do) you should be able to view the exception's message
and maybe even a stack trace if you set it up right.
Todd Boyd
Web Programmer