XDebug and Target Management for Eclipse

Posted by Ralph on June 21, 2008

Welcome to another exciting episode. This time you will learn:

  • how to send your files to remote development server from within Eclipse using Target Management and secure FTP (sftp).
  • make files sent via sftp belong to certain user group and have write permissions for this group (umask).
  • configure and use XDebug with Eclipse PDT.

You can find the link to the tutorials about XDdebug I have mentioned on the show in show notes for Episode #7.

Timeline:

00:58 Install Target Management Plugin
02:48 Connecting to development server using Target Management Plugin
03:45 Adjust development server folder permission
07:30 Changing umask for files created using sftp
12:25 Exporting files to development server
15:25 Re-send files to server after changes
16:30 Using XDebug with Eclipse PDT debugging perspective
16:50 Eclipse PDT debugging perspective
17:07 Configuring Eclipse PDT for XDebug
19:10 Start debugging
20:50 Setting conditional breakpoints
21:50 Watch expressions
24:20 Using XDebug functions in your code

Best viewed in full screen with scaling off !!!


Episode #8. Using XDebug and Target Management with Eclipse by ralphz from ralphz on Vimeo.

«            »

16 Responses to “XDebug and Target Management for Eclipse”

  1. Martin Says:

    Hey, keep up the good work. I’m enjoying the series so far.

  2. andre Says:

    Very good job Ralph,
    thanks a lot.

  3. Greg Says:

    Great job on these videos Ralph. Keep them coming! A few of your videos showed some of you PHP code. I’d really like to see some videos from you on how you setup and organize your PHP projects.

    Thank a lot!

  4. Daniel Says:

    Hey Ralph, again thanks for the tutorials. I agree with greg, i’d like to see how you setup and organize.

  5. Recent Links Tagged With "xdebug" - JabberTags Says:

    [...] public links >> xdebug XDebug and Target Management for Eclipse Saved by ferg4ddc on Fri 31-10-2008 Status update: Statistics etc. Saved by olhando on Sat [...]

  6. Jithin Says:

    Hi great videos and good work. What I have an issue. When I connect to my dev box which is an RHEL 4 box no files are listed under ROOT. Under HOME though I can see files and folders I cannot seem to explore any further deep.
    Any help please.

  7. Roy Says:

    Hi Ralph, many thanks for your tutorials. Very great job. keep up the good work.

    Roy.

  8. kiria1307 Says:

    hi ralph,

    i really enjoy yours tutorials. i ‘m pretty new to php but not to eclipse. your tutorials help me going through the most important issues concerning professional development in php, in a very efficient and interesting way. keep on providing us such stuff. thanks.

  9. kiria1307 Says:

    hi ralph,

    on behalf of your tutorial, i succeed in debugging within Eclipse PDT and the ZendDebugger (both local and remote). but i am having some annoying problems when specifying in auto_prepend_file. the locations in files, where the debugger is supposing to stop, are not matching any more . do u have any ideas how to handle this? thanks

  10. Ralph Says:

    Sorry but I can’t help you. I have never used auto_prepend_file along with ZendDebugger. I’m really big fun of XDebug to do all my PHP debugging. Maybe you should try it and see if it works.

  11. imc Says:

    hi ralph,

    “Sorry. This video no longer exits” :(

  12. Isidro Says:

    Hi Ralph,

    Good job! Thanks from Spain.

  13. Serhiy Says:

    Hi Ralph,

    This is excellent tutorial! I just installed everything.

    Quick question about something not related directly to TM…
    I noticed you are using mc file manager.

    I had problem with mine that I installed with Ubuntu 8.04 (mc-4.6.1a-45). It has problem with pseudo graphic over SSH when I use PuTTY ssh from Windows client. I read discussions and tried every PuTTY settings – no fix. I had to compile and install older version: mc-4.6.0. It looks little different from yours. Did you have to fix any problems with your mc?

    Thanks,
    Serhiy

  14. Ralph Says:

    Hi

    Thanks for your comment. Please try this to solve your MC problem: http://www.andremiller.net/content/getting-midnight-commander-line-drawing-work-putty

  15. Refeexity Says:

    emm.. luv it.

  16. xdebug + Eclipse PDT: Part 1 | Tiny God Says:

    [...] http://theorangeit.org/2008/06/21/xdebug-and-target-management/ [...]

Leave a Reply