Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » How to configure Eclipse to debug Drupal/PHP on a remote development server?
How to configure Eclipse to debug Drupal/PHP on a remote development server? [message #1761291] Tue, 09 May 2017 09:41 Go to next message
Eclipse UserFriend
Hi all,
I'd like to debug a PHP application (in this case a Drupal site) on a *remote* server (a virtual machine used to develop the site).
I've installed on the remote server xdebug and I've added these settings to the file php.ini:
zend_extension = /usr/lib/php/20151012/xdebug.so
xdebug.remote_enable=1
xdebug.remote_host=<the_ip_of_my_pc>
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.remote_mode="req"

Now what are the steps that should I follow to configure Eclipse Neon2 on my pc?
Should I have a local copy of the site?
Now I'm editing the files with the Remote Explore with Sftp.

Is there a tutorial ?
I've found only a tutorial for debugging on a local machine: https://wiki.eclipse.org/Debugging_using_XDebug.

Thank you very much

cld

[Updated on: Tue, 09 May 2017 11:23] by Moderator

Re: How to configure Eclipse to debug Drupal/PHP on a remote development server? [message #1763571 is a reply to message #1761291] Wed, 17 May 2017 09:48 Go to previous messageGo to next message
Eclipse UserFriend
This is the documentation for remote debugging from the Xdebug site
https://xdebug.org/docs/remote

I have never tried this myself, I do all my debugging locally.
Re: How to configure Eclipse to debug Drupal/PHP on a remote development server? [message #1764758 is a reply to message #1763571] Fri, 02 June 2017 02:50 Go to previous messageGo to next message
Eclipse UserFriend
Thank you so much!
Re: How to configure Eclipse to debug Drupal/PHP on a remote development server? [message #1764904 is a reply to message #1763571] Sat, 03 June 2017 06:06 Go to previous message
Eclipse UserFriend
Thank you very much, but as all the online documentation it deals about how to debug php/Drupal with Eclipse with a local setup, not with a remote development server.
Previous Topic:mysqli content assist
Next Topic:Fails to install org.eclipse.php.importer
Goto Forum:
  


Current Time: Wed Jul 23 23:37:16 EDT 2025

Powered by FUDForum. Page generated in 0.04126 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top