Page 1 of 1
New PHP Guy-How do you run PHP code through a Debugger, what
Posted: Tue Dec 09, 2014 8:39 am
by cecilchampenois
I use Visual FoxPro to write desktop applications and it has a great debugger tool that allows a developer to step through every line of code and see the values of variables as you go through the code line by line. I don't know if you can do that with web development, but is there something similar. I do have Firefox Firebug installed on my Firefox browser, but it seems to have limitations.
Re: New PHP Guy-How do you run PHP code through a Debugger,
Posted: Tue Dec 09, 2014 8:46 am
by Celauran
Take a look at XDebug. Juan Treminio wrote up a good
XDebug tutorial.
Re: New PHP Guy-How do you run PHP code through a Debugger,
Posted: Tue Dec 09, 2014 10:56 am
by twinedev
cecilchampenois wrote:I do have Firefox Firebug installed on my Firefox browser, but it seems to have limitations.
One thing to keep in mind is that Firebug is for inspecting the what the browser is doing (client side), where PHP is executed on the server side.
Myself I have been using PhpED for 5+ years now and it has it built in both for local as well as a server extension for doing remote handling. Not free, but IMO has paid for itself in features.
Re: New PHP Guy-How do you run PHP code through a Debugger,
Posted: Tue Dec 09, 2014 3:14 pm
by cecilchampenois
I am assuming this is the correct site for PHPEd?
http://www.nusphere.com/index.htm
Re: New PHP Guy-How do you run PHP code through a Debugger,
Posted: Wed Dec 10, 2014 10:15 am
by Weirdan
It is. If you're into non-free IDEs, you may also try PHPStorm and Zend Studio.