SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2008
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    xdebug or zend as a debugger

    Hi there

    I;m on the learning stage of PHP , but my backgound in C is looking for a debugger. At this moment I;m using eclipse PDT, and i've installed xdebug. I;m not sure how good is this because It doesn't work as I expecting in my simple sample projects.

    For example, i have the same problems as the guy from this movies has.
    http://www.youtube.com/watch?v=QzoKFBPeX50

    Can you tell me which is the best debugger at this moment. Which one a beginner is better to use? Do I have to use both of them?

  2. #2
    SitePoint Zealot
    Join Date
    Jun 2010
    Location
    Arizona
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    XDebug is awesome. I generally turn off the "fancy HTML" features.

    Debugging PHP scripts, for me, mostly consists of a lot of var_dump() statements. XDebug is useful for particularly evil problems (e.g. where displaying debug output will ruin the test).

    I don't use XAMMP. I use Portable App versions of Apache and MySQL with the ZIP file distribution of PHP. Makes migrating my apps and data to other machines easier.
    Thomas Hruska

    Single Sign-On Server/Client - The PHP login system that rocks.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •