Is there any editor to debug php code?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mahmud_03
Forum Newbie
Posts: 2
Joined: Sat Mar 01, 2008 8:22 pm

Is there any editor to debug php code?

Post by mahmud_03 »

I am the novice one started using php. I want to use an editor to see whether my php code is correct or incorrect. please help me.
User avatar
Sekka
Forum Commoner
Posts: 91
Joined: Mon Feb 18, 2008 10:25 am
Location: Huddersfield, West Yorkshire, UK

Re: Is there any editor to debug php code?

Post by Sekka »

I would personally recommend running a local web server on your machine to test code. Try xampp, easy to install and use.

If you don't want to do this and you want debugging in the IDE, I came accross one called Eclipse the other day. Never used it, but it does what you want,

http://www.zend.com/en/community/pdt
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Is there any editor to debug php code?

Post by Jonah Bron »

Or just download and install php, and SciTE. It has an output pane, that shows errors. Don't forget to turn errors on. :wink:
toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

Re: Is there any editor to debug php code?

Post by toasty2 »

Another option is to get Abyss Web Server and install PHP...its really easy. XAMPP is too bloated for my tastes.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: Is there any editor to debug php code?

Post by s.dot »

localhost is the best

recently i've been forced to use eclipse for a cvs project. it is pretty amazing although i think i'll stick with my simple editor in the end. but eclipse will give you nice debug info
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply