How to configure Eclipse to debug Drupal/PHP on a remote development server? [message #1761291] |
Tue, 09 May 2017 13:41 |
Claudio Claudio Messages: 2 Registered: May 2017 |
Junior Member |
|
|
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 15:23] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01962 seconds