New PHP Guy-How do you run PHP code through a Debugger, what
Moderator: General Moderators
-
cecilchampenois
- Forum Commoner
- Posts: 47
- Joined: Thu Nov 06, 2014 10:29 am
- Location: Gilbert, Arizona
- Contact:
New PHP Guy-How do you run PHP code through a Debugger, what
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.
Cecil Champenois
Re: New PHP Guy-How do you run PHP code through a Debugger,
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,
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.cecilchampenois wrote:I do have Firefox Firebug installed on my Firefox browser, but it seems to have limitations.
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.
-
cecilchampenois
- Forum Commoner
- Posts: 47
- Joined: Thu Nov 06, 2014 10:29 am
- Location: Gilbert, Arizona
- Contact:
Re: New PHP Guy-How do you run PHP code through a Debugger,
Cecil Champenois
Re: New PHP Guy-How do you run PHP code through a Debugger,
It is. If you're into non-free IDEs, you may also try PHPStorm and Zend Studio.