error_reporting(E_ALL); At the top of the script when your in dev, live error_reporting(0); Basic debug. There are a few low level php 'pear' plugins for debugging also. -- Trevor
On Tue, Jun 28, 2011 at 8:45 AM, Jordon Replogle <[email protected]>wrote: > 'php -l [filename]' does syntax checking for you and tells you what line > the error occurred. > I use geany and if you "compile" a php file it will check for syntax and > underline any lines that error. > > > Date: Mon, 27 Jun 2011 17:19:32 -0700 > > From: [email protected] > > To: [email protected] > > Subject: Re: [LinuxUsers] PHP debugger > > > > > Just basic Php programming issues: Why the program doesn't work. What > > line does the program break down at. I don't have any particular issue > > I am dealing with right now, but it would be nice to have something > > that, like firebug, you can stop at a certain line and see what the > > variables are, or something you can step through. > > > > Thanks > > > > On Mon, Jun 27, 2011 at 4:52 PM, Trevor Benedict <[email protected]> > wrote: > > > It really depends on what kind of debugging you are trying to do. > > > memory? objects? time? exec issues? > > > -- Trevor > > > > > > On Mon, Jun 27, 2011 at 4:33 PM, Paul Saenz < > [email protected]> > > > wrote: > > >> > > >> Just thought I'd ask if anyone has a recomendation for a php debugger. > > >> > > >> Thanks > > >> Paul > > >> _______________________________________________ > > >> LinuxUsers mailing list > > >> [email protected] > > >> http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers > > > > > > > > > _______________________________________________ > > > LinuxUsers mailing list > > > [email protected] > > > http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers > > > > > > > > _______________________________________________ > > LinuxUsers mailing list > > [email protected] > > http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers > > _______________________________________________ > LinuxUsers mailing list > [email protected] > http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers > >
_______________________________________________ LinuxUsers mailing list [email protected] http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers
